Gets or sets the template to use to display the content of the column header.
Assembly: PresentationFramework (in PresentationFramework.dll)
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.
One of the following: StaticResource, or DynamicResource. See XAML Resources.
The key that identifies the template being requested. The key refers to an existing resource in a ResourceDictionary.
Property element syntax is technically possible, but not recommended. See Inline Styles and Templates. A binding reference using or is also possible, but uncommon.
Legacy Code Example
The following example shows how to specify a template to use to display the header of a GridViewColumn.Code snippet is not found. Confirm that the code snippet name 'ListViewTemplate' is correct.Code snippet is not found. Confirm that the code snippet name 'ListViewTemplate' is correct.Code snippet is not found. Confirm that the code snippet name 'HOWDOI' is correct.
Available since 3.0