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

In This Article

Enables you to assign custom sizes for hints displayed for NavBar groups.

#Declaration

Delphi
property OnCalcGroupHintRect: TdxNavBarCalcGroupHintRectEvent read; write;

#Remarks

Write the OnCalcGroupHintRect event handler to define NavBar group hint dimensions.

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

The AGroup parameter specifies the group whose hint dimensions are to be 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 group hint. The parameter’s initial values are calculated by the control itself, but you can change them.

See Also