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

TcxGridLevelStyles.OnGetTabStyle Event

In This Article

Occurs before a View tab is redrawn.

#Declaration

Delphi
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