-api-id | -api-type |
---|---|
T:Windows.UI.Xaml.Controls.GroupStyle |
winrt class |
Describes how to display the grouped items in a collection, such as the collection from GroupItems.
<GroupStyle />
A GroupStyle is typically defined in Extensible Application Markup Language (XAML) and then set as the value of the ItemsControl.GroupStyle property to define the visual look of the groups.
Here, a GroupStyle is applied to a GridView control that contains grouped data. For more info, and to see the full example code, see How to group items in a list or grid.
[!code-xamlGroupedGridViewXAML]