Skip to main content

TdxCustomNavBar.OnCollapsed Event

Enables you to execute custom code when the NavBar control has been collapsed.

Declaration

property OnCollapsed: TNotifyEvent read; write;

Remarks

This event occurs every time the NavBar control is collapsed when the Hamburger Menu or any Navigation Pane View is active. The Sender parameter provides access to the NavBar control that raised the OnCollapsed event. Cast the parameter value to the TdxNavBar class to access the control’s API members.

Note

If the OptionsBehavior.Common.AllowExpandAnimation property is set to True, the OnCollapsed event occurs only once the NavBar collapse animation is finished.

See Also