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

TcxCustomTabControl.OnDrawTab Event

In This Article

Enables you to paint tabs using custom draw.

#Declaration

Delphi
property OnDrawTab: TcxDrawTabEvent read; write;

#Remarks

Handle this event to perform custom drawing of tabs. If the OwnerDraw property value is True, the event fires for every tab within the control each time the control is repainted.

The AControl parameter specifies the tab control whose tab is to be painted. The ATab parameter specifies the painted tab. Use the DefaultDraw parameter to specify whether default drawing must be performed. If a tab has been painted in the event handler, set this property to False.

See Also