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

TdxCustomNavBar.OnCalcLinkHintRect Event

In This Article

Occurs when a particular NavBar link hint rectangular dimensions are recalculated.

#Declaration

Delphi
property OnCalcLinkHintRect: TdxNavBarCalcLinkHintRectEvent read; write;

#Remarks

Write the OnCalcGroupHintRect event handler to define the dimensions of the hints of NavBar links.

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

The ALink parameter specifies an object of the TdxNavBarItemLink type which represents the NavBar link the hint dimensions are currently being calculated.

The AViewInfo parameter specifies an object of the TdxNavBarViewInfo type that stores ViewInfo information of the NavBar control.

The R parameter specifies an object of the TRect type which represents rectangular dimensions of the NavBar link hint. The parameter’s initial values are calculated by the control itself, but you can change them.

See Also