Back to Devexpress

TcxCustomGridTableViewStyles.Content Property

vcl-cxgridcustomtableview-dot-tcxcustomgridtableviewstyles-b31ef45b.md

latest1.8 KB
Original Source

TcxCustomGridTableViewStyles.Content Property

Specifies the style for the grid View content.

Declaration

delphi
property Content: TcxStyle index vsContent read; write;

Property Value

TypeDescription
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):

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

Style Repository

TcxCustomGridTableViewStyles Class

TcxCustomGridTableViewStyles Members

cxGridCustomTableView Unit