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

TcxCustomGridTableItemStyles.Content Property

Specifies the style for item cells.

#Declaration

Delphi
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