Items Panels
The essence of items controls is not their visual appearance but rather their storage of multiple items and, for Selector
s, the ways in which their items are logically selected. Although all XAML controls can be visually altered by applying a new control template, items controls have a shortcut for replacing just the piece of the control template responsible for arranging its items. This mini-template, called an items panel, enables you to swap out the panel used to arrange items while leaving everything else about the control intact. You can apply an items panel to any items control by settings its ItemsPanel
property.
Conveniently, the panels used to arrange items within an items control are the same kind of panels used everywhere ...
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.