15.02.2015 Views

C# 4 and .NET 4

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

summary ❘ 1073<br />

After running the application you can see grouping <strong>and</strong> row detail information, as shown in Figure 36-16.<br />

figure 36-16<br />

summary<br />

This chapter covered some features of WPF that are extremely important for business applications.<br />

WPF data binding gives a leap forward. You can bind any property of a .<strong>NET</strong> class to a property of a WPF<br />

element. The binding mode defines the direction of the binding. You can bind .<strong>NET</strong> objects <strong>and</strong> lists, <strong>and</strong><br />

define a data template to create a default look for a .<strong>NET</strong> class with a data template.<br />

Comm<strong>and</strong> binding makes it possible to map h<strong>and</strong>ler code to menus <strong>and</strong> toolbars. You’ve also seen how easy<br />

it is to copy <strong>and</strong> paste with WPF because a comm<strong>and</strong> h<strong>and</strong>ler for this technology is already included in the<br />

TextBox control.<br />

The next chapter goes into another facet of WPF: documents with WPF.<br />

www.it-ebooks.info

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!