ItemsControl.GroupStyleSelector 属性

定义

获取或设置对自定义 GroupStyleSelector 逻辑类的引用。 GroupStyleSelector 根据内容的特征返回要用于内容的不同 GroupStyle 值。

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" />

属性值

对自定义 GroupStyleSelector 逻辑类的引用。

适用于