15.02.2015 Views

C# 4 and .NET 4

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

summary ❘ 1033<br />

After running the application, you will see the output in Figure 35-37.<br />

figure 35-37<br />

summary<br />

In this chapter, you have taken a first tour through the many features of WPF. WPF makes it easy to<br />

separate work between developers <strong>and</strong> designers. All UI features can be created with XAML, <strong>and</strong> the<br />

functionality by using code-behind.<br />

You have seen many controls <strong>and</strong> containers that are all based on vector-based graphics. Because of<br />

vector-based graphics, WPF elements can be scaled, sheared, <strong>and</strong> rotated. Because of the content flexibility<br />

of content controls, the event-h<strong>and</strong>ling mechanism is based on bubbling <strong>and</strong> tunneling events.<br />

Different kinds of brushes are available to paint background <strong>and</strong> foreground of elements. You can use solid<br />

brushes, linear or radial gradient brushes, but also visual brushes to do reflections or show videos.<br />

Styling <strong>and</strong> templates allow you to customize the look of controls. Triggers allow you to change properties<br />

of WPF elements dynamically. Animations can be done easily by animating a property value from a<br />

WPF control.<br />

The next chapter continues with WPF showing data binding, comm<strong>and</strong>s, navigation, <strong>and</strong> several<br />

more features.<br />

www.it-ebooks.info

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

Saved successfully!

Ooh no, something went wrong!