Skip to main content

TcxGridCardViewStyles.OnGetCaptionRowStyle Event

Occurs when a row of the “caption” type should be redrawn.

Declaration

property OnGetCaptionRowStyle: TcxGridGetCellStyleEvent read; write;

Remarks

You can handle the OnGetCaptionRowStyle event to redefine the style for specific caption rows (a Card View row with its Kind property set to rkCaption). This event occurs when it is necessary to redraw the caption row of the specific card defined by the ARecord parameter. The item (card row) is specified by the AItem parameter.

Sender specifies the Card View.

ARecord specifies the record to which the card corresponds.

AItem specifies the caption row.

AStyle specifies style attributes to be applied to the caption row.

See Also