Windows.UI.Xaml.Controls.GroupStyle

December 15, 2023 ยท View on GitHub

-description

Describes how to display the grouped items in a collection, such as the collection from GroupItems.

-xaml-syntax

<GroupStyle />

-remarks

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.

-examples

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]

-see-also

ItemsControl.GroupStyle, GroupItem, INotifyPropertyChanged