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

TcxCustomGridTableViewStyles.Content Property

Specifies the style for the grid View content.

#Declaration

Delphi
property Content: TcxStyle index vsContent read; write;

#Property Value

Type Description
TcxStyle

Stores appearance settings for a UI element.

#Remarks

Use this property to define the appearance (that is, font, background color, and background bitmap) of all cells in a grid View. You can override the appearance settings (except for background bitmap) for an individual cell within a handler of the OnGetContentStyle event.

The following image shows a grid View whose content region’s background is filled with the clWebLightSkyBlue color ($00FACE87):

Grid Table View Content with a Style Applied

Note

A grid item’s Styles.Content property has priority over the grid View’s Styles.Content, Styles.ContentOdd, and Styles.ContentEven properties.

See Also