TcxVerticalGridStyles.OnGetContentStyle Event
Allows you to redefine the style settings of a row cell.
Declaration
property OnGetContentStyle: TcxvgOnGetContentStyleEvent read; write;
Remarks
This event fires when painting row cells. You can handle this event to redefine the style settings of a particular row cell.
The Sender parameter specifies the vertical grid control that initiated the event.
The AEditProp parameter exposes the TcxCustomEditorRowProperties object whose interface provides information about the editor row.
The AFocused parameter specifies whether the current row cell is focused.
The ARecordIndex parameter returns the index of the corresponding record within the data controller. The parameter returns 0 for unbound grids (i.e. TcxVerticalGrid class).
The AStyle parameter represents the style to be applied to the current row cell. Note: you must assign an existing TcxStyle object to the AStyle parameter before using it.
Additionally, you can redefine the style settings of an individual category row and a particular row’s header by handling the OnGetCategoryStyle and OnGetHeaderStyle events respectively.