property Column.Caption as String

Retrieves or sets the text displayed to the column's header.

TypeDescription
String A string expression that indicates the column's caption.

Adding two columns with the same caption is supported and they can be differentiated by their indexes or their keys. Use the Key property to assign a key to a column. Use the HTMLCaption property to use built-in HTML tags in the column's caption. Use the Add method to add a new column to the control's Columns collection, and to specify the column's caption at adding time. The column's caption is displayed using the following font attributes: HeaderBold, HeaderItalic, HeaderUnderline, HeaderStrikeout. The HeaderImage property assign an icon to the column's header.