Back to Devexpress

CustomDrawHeaderEventArgsBase.Text Property

windowsforms-devexpress-dot-xtraspreadsheet-dot-customdrawheadereventargsbase-803da1f4.md

latest1.6 KB
Original Source

CustomDrawHeaderEventArgsBase.Text Property

Gets the text of the header caption.

Namespace : DevExpress.XtraSpreadsheet

Assembly : DevExpress.XtraSpreadsheet.v25.2.dll

NuGet Package : DevExpress.Win.Spreadsheet

Declaration

csharp
public string Text { get; }
vb
Public ReadOnly Property Text As String

Property Value

TypeDescription
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

CustomDrawHeaderEventArgsBase Class

CustomDrawHeaderEventArgsBase Members

DevExpress.XtraSpreadsheet Namespace