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

TdxNavBarCustomDrawEvents.GroupCaption Event

In This Article

Allows you to custom paint NavBar group headers.

#Declaration

Delphi
property GroupCaption: TdxNavBarCustomDrawGroupEvent read; write;

#Remarks

The Sender parameter specifies the sender of the event. The sender of the event is the NavBar control.

The ACanvas parameter specifies an object of the TCanvas type which provides access to the drawing space of the NavBar group caption.

The AViewInfo parameter specifies an object of the TdxNavBarViewInfo type that stores ViewInfo information of the NavBar control. Use the Group property provided by the parameter to determine which NavBar group’s caption is currently being drawn.

The AHandled parameter specifies whether further group caption painting is needed. Set the parameter to True to disable the default paining routines; set it to False to perform the default painting routines after the custom painting.

See Also