Skip to main content

TcxGridLevelStyles.OnGetOwnTabStyle Event

Occurs before a View tab at the current level is redrawn.

Declaration

property OnGetOwnTabStyle: TcxGridLevelGetOwnTabStyleEvent read; write;

Remarks

You can define the style of an individual tab by handling the OnGetTabStyle event of the object (the View or the current level) which displays the current level. The current level’s OnGetOwnTabStyle event lets you redefine the style which is introduced by this object.

The Sender parameter specifies the grid level whose tab style will be redefined. The AMasterRecord parameter denotes the master record for which the detail tab is to be drawn. The style that will be used to draw this tab is returned via the AStyle parameter.

See Also