DataGridColumn.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。 有关可能影响该值的因素的信息,请参见 DependencyProperty

适用于