Skip to main content
A newer version of this page is available. .

TcxGridTableDataCellViewInfo Class

Contains the ViewInfo information required for painting data cells.

Declaration

TcxGridTableDataCellViewInfo = class(
    TcxGridTableCellViewInfo,
    IcxEditOwner
)

Remarks

Instances of the TcxGridTableDataCellViewInfo class are passed to handlers of the OnCustomDrawCell event of Views and OnCustomDrawCell event of items. These events enable you to paint data cells in a custom manner. The TcxGridTableDataCellViewInfo object provides all the information needed to paint a cell.

Most of TcxGridTableDataCellViewInfo object’s functionality is implemented by its ancestor – the TcxGridTableCellViewInfo class. The introduced properties are listed below:

  • DisplayValue. Returns the cell’s display value;

  • Editing. Indicates whether the cell is in edit mode;

  • Focused. Indicates whether the cell is focused;

  • Style. Enables you to access the style assigned to the cell;

  • Value. Enables you to access the value that the current cell contains;

  • Item. Returns the item to which the cell belongs;

  • Properties. A reference to the in-place editor assigned to the cell.

You do not need to create instances of the TcxGridTableDataCellViewInfo class in applications. Such objects are automatically created, modified and passed to event handlers.

Implements

See Also