Panels

A panel (any class that derives from Panel) can contain children and arrange them in specific ways. The XAML UI Framework contains several panels, and you can create your own. This section examines the four main built-in panels, all in the Windows.UI.Xaml.Controls namespace:

Canvas

StackPanel

Grid

VariableSizedWrapGrid

Get Universal Windows® Apps with XAML and C# Unleashed 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.