Skip to main content

TcxVerticalGridStyles.OnGetCategoryStyle Event

Allows you to define the style settings of category rows.

Declaration

property OnGetCategoryStyle: TcxvgOnGetItemStyleEvent read; write;

Remarks

This event fires when painting a category row, thus allowing you to redefine the style settings of category rows.

The Sender parameter represents the vertical grid control that initiated the event.

The ARow parameter returns the category row affected.

The AStyle parameter represents the style to be applied to the current category row (returned via the ARow parameter). Note: you must assign an existing TcxStyle object to the AStyle parameter before using it.

Additionally, you can redefine the style settings of a particular row cell or header by handling the OnGetContentStyle and OnGetHeaderStyle events.

See Also