ItemsControl.GroupStyleSelector Property


Gets or sets a reference to a custom GroupStyleSelector logic class. The GroupStyleSelector returns different GroupStyle values to use for content based on the characteristics of that content.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.ItemsControl.GroupStyleSelector.

GroupStyleSelector GroupStyleSelector();

void GroupStyleSelector(GroupStyleSelector value);
public GroupStyleSelector GroupStyleSelector { get; set; }
var groupStyleSelector = itemsControl.groupStyleSelector;
itemsControl.groupStyleSelector = groupStyleSelector;
Public Property GroupStyleSelector As GroupStyleSelector
<itemsControl GroupStyleSelector="groupStyleSelectorReference" />

Property Value


A reference to a custom GroupStyleSelector logic class.

Applies to