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 Class

Stores ViewInfo information required to draw data cells.

#Declaration

Delphi
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.

#Implements

See Also