Skip to main content

GridColumn.ActualCaption Property

Gets the column caption as it is displayed in a column header.

Namespace: DevExpress.Mobile.DataGrid

Assembly: DevExpress.Mobile.Grid.v18.2.dll

Declaration

public string ActualCaption { get; }

Property Value

Type Description
String

A String value specifying the column’s actual caption.

Remarks

Important

This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.

In the grid, column captions are displayed in column headers.

By default, a column caption is generated based on the column’s field name (GridColumn.FieldName) - SPACE characters are added between parts of the field name starting with uppercase letters. For example, if the field name is “CustomerName”, the display caption will be “Customer Name”. To obtain a column caption as it is displayed in a column header, use the ActualCaption property.

To override the default display caption of a column, assign the GridColumn.Caption property.

See Also