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

TcxGridTableDataCellViewInfo.Style Property

Provides access to the style assigned to the cell.

#Declaration

Delphi
property Style: TcxEditStyle read;

#Property Value

Type
TcxEditStyle

#Remarks

Use the Style property to access the style assigned to the cell. This is useful if you want to paint a part of the cell’s content in the default manner. For instance, you may want to paint custom backgrounds for cells, but preserve their font settings. In this case, you need to read the Font property value of the object obtained via the Style property. This font must be assigned to the Font property of the canvas before calling the DrawText method to paint the cell text.

See Also