TcxGridTableDataCellViewInfo Class
Stores ViewInfo information required to draw 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.