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

In This Article

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

#Declaration

Delphi
property OnExpanded: TNotifyEvent read; write;

#Remarks

This event occurs every time the NavBar control is expanded when the Hamburger Menu or any Navigation Pane View is active. The Sender parameter provides access to the NavBar control that raised the OnExpanded 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 OnExpanded event occurs only once the NavBar expand animation is finished.

See Also