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

In This Article

Enables you to calculate custom height for groups’ client areas.

#Declaration

Delphi
property OnCalcGroupClientHeight: TdxNavBarCalcGroupClientHeightEvent read; write;

#Remarks

The OnCalcGroupClientHeight event is fired when a particular group client height needs to be recalculated. Assign a new integer value to the AHeight parameter to change the group’s client region height.

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

The AViewInfo parameter gets access to the object of the TdxNavBarGroupViewInfo type that stores ViewInfo information of the current NavBar group.

The AHeight parameter specifies height of the current group client region.

The OnCalcGroupClientHeight event is commonly used together with the OnCustomDraw.GroupClientForeground event. These are used to paint custom information within groups. The OnCalcGroupClientHeight event is used to specify the height of a group when there are no links in it.

See Also