Skip to main content

TcxCustomGridTableItemStyles.Content Property

Specifies the style for item cells.

Declaration

property Content: TcxStyle index isContent read; write;

Property Value

Type
TcxStyle

Remarks

The Content property allows you to define the style (font, background color) for displaying item data. It is possible to modify the style of individual item cells by handling the OnGetContentStyle event. Note that the background bitmap for the cells of a specific item cannot be specified via the Content property as this is relevant only to all the cells within the grid.

Descendants of the TcxCustomGridTableItemStyles class use the value of the Content property to render other item elements. For instance, the Content property specifies the default style of the caption region in a Card View row.

See Also