O'Reilly logo

Pro WPF in C# 2008: Windows Presentation Foundation with .NET 3.5, Second Edition by Matthew MacDonald

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

The Last Word

As you've seen, WPF supports more than one content model. In the previous chapter, you learned about panels, which can wrap multiple elements and apply layout logic. In this chapter you considered content controls, which hold a single element and can range from basics (labels and buttons) to specialized containers that create scrollable and collapsible regions. You also took a quick detour to consider decorators, which allow you to add borders and provide dynamic scaling.

WPF still has more in store. In later chapters, you'll learn about items controls that have yet another content model—they can hold multiple items, each of which is displayed in a specific way (in a list box, a tree, a menu, and so on). But first, in the next ...

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