Back to Devexpress

CustomDrawHeaderEventArgsBase.BackColor Property

windowsforms-devexpress-dot-xtraspreadsheet-dot-customdrawheadereventargsbase-cde8d074.md

latest1.7 KB
Original Source

CustomDrawHeaderEventArgsBase.BackColor Property

Gets the background color of the header.

Namespace : DevExpress.XtraSpreadsheet

Assembly : DevExpress.XtraSpreadsheet.v25.2.dll

NuGet Package : DevExpress.Win.Spreadsheet

Declaration

csharp
public Color BackColor { get; }
vb
Public ReadOnly Property BackColor As Color

Property Value

TypeDescription
Color

A Color object that identifies the background color of the header.

|

Remarks

The header background color cannot be changed via the BackColor property. To change the background color of an individual row or column header, handle the SpreadsheetControl.CustomDrawRowHeaderBackground or the SpreadsheetControl.CustomDrawColumnHeaderBackground events respectively.

See Also

CustomDrawHeaderEventArgsBase Class

CustomDrawHeaderEventArgsBase Members

DevExpress.XtraSpreadsheet Namespace