Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CustomDrawHeaderEventArgsBase.BackColor Property

Gets the background color of the header.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.XtraSpreadsheet.v24.2.dll

NuGet Package: DevExpress.Win.Spreadsheet

#Declaration

public Color BackColor { get; }

#Property Value

Type Description
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