共用方式為


GroupStyle.HeaderTemplateSelector 屬性

定義

可讓應用程式撰寫者提供自訂的範本選取邏輯,以用來顯示群組標頭。

public:
 property System::Windows::Controls::DataTemplateSelector ^ HeaderTemplateSelector { System::Windows::Controls::DataTemplateSelector ^ get(); void set(System::Windows::Controls::DataTemplateSelector ^ value); };
public System.Windows.Controls.DataTemplateSelector HeaderTemplateSelector { get; set; }
member this.HeaderTemplateSelector : System.Windows.Controls.DataTemplateSelector with get, set
Public Property HeaderTemplateSelector As DataTemplateSelector

屬性值

衍生自 DataTemplateSelector 的物件。 預設為 null

適用於

另請參閱