Gets or sets the style to apply to column headers.
Assembly: PresentationFramework (in PresentationFramework.dll)
The ColumnHeaderTemplate property are both used to define the visual tree for the GridViewColumnHeader objects that represent the column headers in a GridView. The property can also define column header content when a ColumnHeaderTemplate is not by specified by defining a ControlTemplate for the GridViewColumnHeader object.property and the
This property represents one of several ways to lay out and style column headers. For more information, see GridView Column Header Styles and Templates Overview.
When you set styles, there are some restrictions. For more information, see Styling and Templating.
One of the following: StaticResource, or DynamicResource. See XAML Resources.
The key that identifies the style 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.
Available since 3.0