Skip to main content

TdxNavBarCustomDrawEvents.GroupCaption Event

Allows you to custom paint NavBar group headers.

Declaration

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