DataGridColumn.HeaderTemplateSelector 屬性

定義

取得或設定物件,以選取要用於欄標題的範本。Gets or sets the object that selects which template to use for the column header.

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

屬性值

用於選取範本的物件。The object that selects the template. 已註冊的預設值是 nullThe registered default is null. 如需哪些因素會影響值的詳細資訊,請參閱 DependencyPropertyFor information about what can influence the value, see DependencyProperty.

適用於