Summary

WPF introduced a flexible layout system that supports rendering XAML elements that have been defined with relative sizing and positioning, creating a fluid user interface that can adapt to changing conditions at run time.

This chapter covered the WPF and Silverlight layout systems as well as various XAML layout and positioning controls and their attributes.

The System.Windows.Controls.Panel is a base class for layout containers. It provides a set of layout and positioning controls that range from very basic, such as Canvas and StackPanel, to more advanced controls such as Grid. These controls can act as either a main or a subcontainer for a group of user controls, letting you arrange controls in specific positions and in a particular order ...

Get XAML Developer Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.