Skip to main content

TcxGridTableDataCellViewInfo.Item Property

Provides access to the item which owns the cell.

Declaration

property Item: TcxCustomGridTableItem read;

Property Value

Type
TcxCustomGridTableItem

Remarks

The Item property enables you to identify the item (Card View row or Table View column) to which the cell belongs. This property can be used, for instance, if you need to perform cells custom painting only within specific items. Thus, you can inspect the Item property value and perform custom painting only when its properties satisfy to some conditions. Another way of using the Item property is painting cells with respect to settings of their owning item (e.g. cell of items whose Options.Editing property is False can be painted with a different background).

See Also