Skip to main content

TdxCustomNavBar.OnOverlayShowed Event

Enables you to execute custom code when the Hamburger Menu expands on top of the control’s parent (container) as an overlay.

Declaration

property OnOverlayShowed: TNotifyEvent read; write;

Remarks

This event occurs every time the collapsed Hamburger Menu expands if the NavBar control’s OptionsBehavior.HamburgerMenu.DisplayMode property is set to dmOverlay or dmOverlayMinimal.

The Sender parameter provides access to the NavBar control that raised the OnOverlayShowed event. Cast the parameter value to the TdxNavBar class to access the control’s API members.

Note

You can handle the OnOverlayShowing event to prevent the Hamburger Menu from expanding on top of the control’s parent (container) as an overlay.

See Also