Gets or sets the template to use to display the content of the column header.
Assembly: PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
Metadata properties set to true
If both the HeaderTemplateSelector property and the property are set, the property takes precedence.
Properties that define the content, layout, and style of a column header are found on many related classes, and some of these properties have functionality that is similar or the same. For more information, see GridView Column Header Styles and Templates Overview.
The following example shows how to specify a template to use to display the header of a GridViewColumn.
|How to: Use Templates to Style a ListView That Uses GridView||This example shows how to use the DataTemplate and Style objects to specify the appearance of a ListView control that uses a GridView view mode.|