Skip to Content
Professional C# 5.0 and .NET 4.5.1
book

Professional C# 5.0 and .NET 4.5.1

by Christian Nagel, Jay Glynn, Morgan Skinner
February 2014
Intermediate to advanced
1560 pages
50h 21m
English
Wrox
Content preview from Professional C# 5.0 and .NET 4.5.1

Chapter 36Business Applications with WPF

WHAT’S IN THIS CHAPTER?

  • Menu and ribbon controls
  • Using commanding for input handling
  • Data binding to elements, objects, lists, and XML
  • Value conversions and validation
  • Using the TreeView to display hierarchical data
  • Displaying and grouping data with the DataGrid
  • Live shaping with the Collection View Source

WROX.COM CODE DOWNLOADS FOR THIS CHAPTER

The wrox.com code downloads for this chapter are found at www.wrox.com/go/procsharp on the Download Code tab. The code for this chapter is divided into the following major examples:

  • Books Demo
  • Multi Binding Demo
  • Priority Binding Demo
  • XML Binding Demo
  • Validation Demo
  • Formula 1 Demo
  • Live Shaping

INTRODUCTION

In the previous chapter you read about some of the core functionality of WPF. This chapter continues the journey through WPF. Here you read about important aspects for creating complete applications, such as data binding and command handling, and about the DataGrid control. Data binding is an important concept for bringing data from .NET classes into the user interface, and allowing the user to change data. WPF not only allows binding to simple entities or lists, but also offers binding of one UI property to multiple properties of possible different types with multi binding and priority binding that you’ll learn here as well. Along with data binding it is also important to validate data entered by a user. Here, you can read about different ways for validation including the interface

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Pro C# 2010 and the .NET 4 Platform, Fifth Edition

Pro C# 2010 and the .NET 4 Platform, Fifth Edition

Andrew Troelsen
ASP.NET 2.0 Illustrated

ASP.NET 2.0 Illustrated

Alex Homer, Dave Sussman
Professional Visual Studio® 2008

Professional Visual Studio® 2008

Nick Randolph, David Gardner

Publisher Resources

ISBN: 9781118832981Purchase book