CustomDrawHeaderEventArgsBase.Text Property

Gets the text of the header caption.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.XtraSpreadsheet.v21.2.dll

Declaration

public string Text { get; }

Property Value

Type Description
String

A string that is the header caption.

Remarks

The Text cannot be used to change the header text. Handle the SpreadsheetControl.CustomDrawColumnHeader or the SpreadsheetControl.CustomDrawRowHeader events and draw the required text using methods of the CustomDrawObjectEventsArgs.Graphics object.

See Also