Leanpub Header

Skip to main content

Learn WPF MVVM - XAML, C# and the MVVM pattern

Be ready for coding away next week using WPF and MVVM

You know next to nothing about WPF but need to start coding your next application within a week. Don't worry: this book has you covered.

Minimum price

$9.99

$10.99

You pay

$10.99

Author earns

$8.79
$

...Or Buy With Credits!

You can get credits monthly with a Reader Membership
PDF
EPUB
WEB
542
Readers
174
Pages
About

About

About the Book

You're a developer who knows next to nothing about WPF. Which is fine, except that you need to start coding your next application using WPF and the MVVM pattern.

Don't worry: I have you covered. I've been training hundreds of developers like you during 15 years, and converted my experience into this book. I know from experience teaching what takes more time to learn in WPF, and will spend time only where appropriate.

Plus this book is packed with exercises which build up into a full project: you develop a small e-commerce sample application. You’ll allow users to browse for products, and you’ll also create a back-end where users will be able to list and edit products.

Read this book, and you can code your WPF application within a week. Or your money back.

Printed paperback version available here.

Author

About the Author

Arnaud Weil

Arnaud Weil is a born developer: when he was a kid he was controlling his electric train using an Atari ST and some self-made electronics, then as a teenager created and distributed worldwide one of the first Web browsers for some of the first pocket computers, when the Web was just beginning. In fact, he loves coding.

Turning a passion into a career, Arnaud has been coding all kinds of applications from factory tools to smartphone applications to house control solutions. His status as a freelancer allows him to help his clients with many different projects.

But what Arnaud enjoys most is helping other developers: that's why he teaches, speaks, and writes books.

Other books by Arnaud Weil.

Contents

Table of Contents

1.Introduction

  1. 1.1What this book is not
  2. 1.2Prerequisites
  3. 1.3How to read this book
  4. 1.4Tools you need
  5. 1.5Source code

2.Why WPF ?

3.Creating a WPF application

  1. 3.1Developer - designer workflow
  2. 3.2Editors
  3. 3.3Adding a control
  4. 3.4Simple controls
  5. 3.5Navigation
  6. 3.6It’s your turn to code: do-it-yourself
  7. 3.7Exercise - Create the application and contact page
  8. 3.8Exercise solution
  9. 3.9Understanding XAML
  10. 3.10Events
  11. 3.11Exercise - Create the menu page
  12. 3.12Exercise solution
  13. 3.13Layout
  14. 3.14List controls
  15. 3.15Exercise - Create the discussion page
  16. 3.16Exercise solution

4.Managing data in a WPF application

  1. 4.1Data binding
  2. 4.2DataContext
  3. 4.3Converters
  4. 4.4Displaying collections using list controls
  5. 4.5Customizing list controls
  6. 4.6Exercise - Display messages from a data object
  7. 4.7Exercise solution
  8. 4.8INotifyPropertyChanged
  9. 4.9INotifyCollectionChanged
  10. 4.10Exercise - Display products and details
  11. 4.11Exercise solution
  12. I need you, super-hero !

5.Making it shine: customize the look

  1. 5.1Change a control’s look
  2. 5.2Exercise - Create a basic button template
  3. 5.3Exercise solution
  4. 5.4Resources
  5. 5.5Exercise - Set the background
  6. 5.6Exercise solution
  7. 5.7Styles
  8. 5.8Exercise - Improve menu page using an implicit style
  9. 5.9Exercise solution
  10. 5.10Themes
  11. 5.11Transforms
  12. 5.12Control states
  13. 5.13Animations

6.MVVM pattern for WPF

  1. 6.1Spaghetti code
  2. 6.2MVC
  3. 6.3MVVM
  4. 6.4Recommended steps (simple)
  5. 6.5Example
  6. 6.6Example, more complex
  7. 6.7Commands and methods
  8. 6.8Recommended steps (complete)
  9. 6.9Exercise - Display products and details using MVVM
  10. 6.10Exercise solution
  11. 6.11MVVM frameworks in short

A word from the author

The Learn collection

Get the free sample chapters

Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub