Skip to main content

TcxGridTableCellViewInfo.GridRecord Property

Returns the record where the cell is displayed.

Declaration

property GridRecord: TcxCustomGridRecord read;

Property Value

Type
TcxCustomGridRecord

Remarks

Use the GridRecord property to obtain the object representing the record that holds the cell. The property returns the TcxCustomGridRecord object which is the base for record classes. Thus, you may need to perform typecasts to access members specific to the record type. Please refer to the TcxCustomGridRecord class description for the list of descendants available.

The GridRecord property enables you to paint cells depending on the record where they are displayed. For instance, you may identify a record, obtain its data within a particular cell and, thus, determine how the cell should be painted.

See Also