Delen via


ItemsControl.GroupStyleSelector Property

Definition

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.

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