GridColumn.GetTextCaption() Method

Returns the non formatted column caption.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

public virtual string GetTextCaption()
Public Overridable Function GetTextCaption As String

Returns

Type Description
String

A string value that represents the column's non formatted caption.

Remarks

If the GridOptionsView.AllowHtmlDrawHeaders option is enabled, you can use HTML tags to format column captions. In this instance, the GetTextCaption method returns the column's non formatted caption (plain text without tags).

AllowHtmlDrawHeaders

See Also