DataGridColumn.HeaderTemplateSelector Property

.NET Framework 4.6 and 4.5

Gets or sets the object that selects which template to use for the column header.

Namespace:  System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

member HeaderTemplateSelector : DataTemplateSelector with get, set
    <DataTemplateSelector .../>

Property Value

Type: System.Windows.Controls.DataTemplateSelector
The object that selects the template. The registered default is a null reference (Nothing in Visual Basic). For information about what can influence the value, see DependencyProperty.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft