Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxVerticalGridStyles.OnGetCategoryStyle Event

In This Article

Allows you to define the style settings of category rows.

#Declaration

Delphi
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