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

In This Article

Enables you to custom paint the hints displayed for the overflow panel’s icons.

#Declaration

Delphi
property NavigationPaneOverflowPanelHint: TdxNavBarCustomDrawGroupHintEvent read; write;

#Remarks

This Sender parameter identifies the NavBar control whose hint is to be painted.

The ACanvas parameter provides the painting surface. The group whose corresponding icon is currently hot-tracked is passed as the AGroup parameter. The default hint string is passed as the AHint parameter.

The hint’s bounding rectangle is passed as the R parameter. By default, this rectangle is automatically calculated to fit the hint string, which is the corresponding group’s caption. You can also specify hint rectangles manually by handling the OnCalcNavigationPaneOverflowPanelHintRect event.

You should set the AHandled parameter to True to prohibit default painting after the event handler’s execution. Otherwise, the control will paint the hint using the default painting mechanism.

Note

hints for the overflow panel’s icons are enabled provided that the OptionsBehavior.NavigationPane.ShowOverflowPanelHints property value is True.

See Also