Skip to main content

BaseColumn.HeaderCaption Property

Gets the column header’s caption. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v23.1.Core.dll

NuGet Package: DevExpress.Wpf.Grid.Core


public object HeaderCaption { get; }

Property Value

Type Description

An object that represents the column header’s caption.


The main part of a header’s content is the caption. You can change this caption and add different elements to the header content.


Specify the BaseColumn.Header property to change the header caption. If the BaseColumn.Header property is not specified, the header caption is specified by the ColumnBase.FieldName property. Camel-case field names are split with spaces, for example, the header for the “CategoryName” field name is “Category Name”.

The following code sample demonstrates how to use the Header property:


<dxg:GridColumn FieldName="CategoryName" 

You can use the HeaderCaption property to obtain the actual column header caption.

Refer to the following help topic for more information: Header Content Customization.

See Also