Skip to main content

TcxGridLevelStyles.OnGetTabStyle Event

Occurs before a View tab is redrawn.

Declaration

property OnGetTabStyle: TcxGridLevelGetTabStyleEvent read; write;

Remarks

Use the OnGetTabStyle event to define a style for an individual tab within a tab panel. The style common to all tabs is defined via the level’s Styles.Tab property. You can redefine the style for an individual tab by handling the OnGetTabStyle event and returning the style for this tab via the AStyle parameter. The Sender parameter defines the grid level containing the detail levels displayed using the tabs. The ATabLevel parameter specifies the specific detail level whose tab is to be drawn. The style returned via the AStyle parameter will be used to draw this tab.

See Also