Skip to main content

TcxCustomGridTableViewStyles.Content Property

Specifies the style for the grid View content.

Declaration

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