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.Link Event

In This Article

Allows you to custom paint NavBar links.

#Declaration

Delphi
property Link: TdxNavBarCustomDrawLinkEvent 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 link.

The AViewInfo parameter specifies an object of the TdxNavBarLinkViewInfo type that stores ViewInfo information of the NavBar link. Use the Link property provided by the parameter to determine which NavBar link is currently being drawn.

The AHandled parameter specifies whether further link 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