O'Reilly logo

Professional C# 6 and .NET Core 1.0 by Christian Nagel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

34 Windows Desktop Applications with WPF

What’s In This Chapter?

  • WPF Controls
  • Layout
  • Triggers
  • Menu and ribbon controls
  • Using commanding for input handling
  • Data binding to elements, objects, lists, and XML
  • Value conversions and validation
  • Using the TreeViewto 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/professionalcsharp6 on the Download Code tab. The code for this chapter is divided into the following major examples:

  • Controls Sample
  • Layout Sample
  • Trigger Sample
  • Books
  • Multi Binding Sample
  • Priority Binding Sample
  • XML Binding Sample
  • Validation Sample
  • Formula-1
  • Live Shaping

Introduction

In Chapter 29, “Core XAML,” and Chapter 30, “Styling XAML Apps,” you read about some of the core features of XAML. This chapter continues the journey through XAML using it from WPF. Here you read about important aspects for the control hierarchy, creating complete applications, using data binding and command handling, and using 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 it also offers binding of one UI property to multiple properties of possible different types with multibinding and priority binding that are discussed in this chapter ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required