共用方式為


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 邏輯類別的參考。

適用於