Skip to main content

TcxVerticalGridStyles.OnGetHeaderStyle Event

Allows you to redefine the style settings of a row’s header.

Declaration

property OnGetHeaderStyle: TcxvgOnGetItemStyleEvent read; write;

Remarks

This event fires when painting row headers, thus allowing you to redefine the style settings of the header of an individual row.

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

The ARow parameter returns the grid row affected.

The AStyle parameter represents the style to be applied to the current row header. 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 cell’s content by handling the OnGetCategoryStyle and OnGetContentStyle events respectively.

See Also