Other Events
The NavigationBar control exposes several other useful events for various situations.
NavigationPane Active Property Changes
The NavigationPaneActiveChanging event is raised before the Active property is set to a new value. The event's arguments contain a Cancel
property that allows you to cancel whether the property value is allowed to change or not.
Maximum Button Count Change Notification
The MaximumBarButtonCountChanged event is raised whenever the value of the MaximumBarButtonCount property is changed. This property can indirectly be changed by the end user via resizing of the splitter, or by using the configuration menu to show more or less buttons.
Notification of End User Reordering Panes
The NavigationPanesReordered event is raised whenever the end user uses the Navigation Bar Options dialog to reorder the panes.