--- title: "GridView Column Header Styles and Templates Overview" ms.date: "03/30/2017" helpviewer_keywords: - "column headers [WPF], customizing" - "ListView controls [WPF], GridView column header styles" - "controls [WPF], ListView" - "headers [WPF], customizing" - "GridView view mode [WPF], customizing column headers" ms.assetid: 74835674-a39e-4ab5-9418-ad7f6ab7b956 --- # GridView Column Header Styles and Templates Overview This overview discusses the order of precedence for properties that you use to customize a column header in the view mode of a control. ## Customizing a Column Header in a GridView The properties that define the content, layout, and style of a column header in a are found on many related classes. Some of these properties have functionality that is similar or the same. The rows in the following table show groups of properties that perform the same function. You can use these properties to customize the column headers in a . The order of precedence for related properties is from right to left where the property in the farthest right column has the highest precedence. For example, if a is set on the object and the is set on the associated , the takes precedence. In this scenario, the has no effect. **Related properties for column headers in a GridView** ||||| |-|-|-|-| |**Classes**|||| |**Context Menu Properties**||Not applicable|| |**ToolTip**

**Properties**||Not applicable|| |**Header Template**

**Properties**| 1/

| 1/

| 1/

| |**Style Properties**|||| 1For **Header Template Properties**, if you set both the template and template selector properties, the template property takes precedence. For example, if you set both the and properties, the property takes precedence. ## See also - [How-to Topics](listview-how-to-topics.md) - [ListView Overview](listview-overview.md) - [GridView Overview](gridview-overview.md)