Prev | Current Page 97 | Next

Matthew MacDonald

"Pro WPF with VB 2008: Windows Presentation Foundation with .NET 3.5"


System.Windows.Controls.ItemsControl
This is the base class for all controls that show a collection of items, such as the ListBox and
TreeView. List controls are remarkably flexible??”for example, using the features that are built
into the ItemsControl class you can transform the lowly ListBox into a list of radio buttons, a
list of check boxes, a tiled display of images, or a combination of completely different elements
that you??™ve chosen. In fact, in WPF menus, toolbars, and status bars are actually
specialized lists, and the classes that implement them all derive from ItemsControl. You??™ll start
using lists in Chapter 16 when you consider data binding. You??™ll learn to enhance them in
Chapter 17, and you??™ll consider the most specialized list controls in Chapter 18.
System.Windows.Controls.Panel
This is the base class for all layout containers??”elements that can contain one or more children
and arrange them according to specific layout rules. These containers are the foundation
of the WPF layout system, and using them is the key to arranging your content in the most
attractive, flexible way possible. Chapter 4 explores the WPF layout system in more detail.
CHAPTER 1 n INTRODUCING WPF 20
The Last Word
In this chapter, you took your first look at WPF and the promise it holds. You considered the
underlying architecture and briefly considered the core classes.


Pages:
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109