Where Are We?
WPF provides a wide range of options for layout. Many panel
types are available, each offering its own layout style. These can then be
composed into a single application in any number of ways, supporting many
different user interface styles. The top- level layout will usually be set with
either a DockPanel or a Grid. The other panels are typically
used to manage the details. You can use the common layout properties on child
elements to control how they are arranged; these properties work consistently
across all panel types. The TextBlock and TextFlow provide
great support for embedding text into your application. And if none of the
built-in layout features meet your requirements, you can write your own custom
panel.
|