Skip to main content

TdxCustomNavBar.OnExpanded Event

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

Declaration

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