Skip to main content

TcxGridTableDataCellViewInfo.Style Property

Provides access to the style assigned to the cell.

Declaration

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