CustomDrawHeaderEventArgsBase.BackColor Property

Gets the background color of the header.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.XtraSpreadsheet.v21.2.dll


public Color BackColor { get; }

Property Value

Type Description

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


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