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

TcxCustomGridViewStyles.Background Property

Specifies the style for a View background.

#Declaration

Delphi
property Background: TcxStyle index vsBackground read; write;

#Property Value

Type
TcxStyle

#Remarks

The Background property allows you to define the style (font, background color) for a View background.

The following image shows a grid control with its background painted in turquoise ($00D0E040):

The Background property can also be used to specify the style for the ‘<No data to display>’ label which is displayed in an empty grid View (refer to the OptionsView.NoDataToDisplayInfoText property for details).

See Also