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

In This Article

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

#Declaration

Delphi
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