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

WindowsUIView.NavigationBarsButtonClick Event

Occurs when an end-user clicks an action within a Navigation Bar.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public event NavigationBarsButtonClickEventHandler NavigationBarsButtonClick

#Event Data

The NavigationBarsButtonClick event's data class is DevExpress.XtraBars.Docking2010.Views.WindowsUI.NavigationBarsButtonClickEventArgs.

#Remarks

Handle the NavigationBarsButtonClick event to respond to an end-user button click within any of the Navigation Bars that belong to this WindowsUIView. The NavigationBarsButtonClick event is fired for both standard actions (e.g., ‘Flip’ or ‘Rotate’ buttons in SplitGroup containers) and your custom actions, added to Navigation Bars via the BaseContentContainer.Actions and/or WindowsUIView.ContentContainerActions properties. To get exactly which button was clicked, use the e.Button property.

The ‘Back’ button is the only button within Navigation Bars that when clicked, does not trigger the NavigationBarsButtonClick event. This button fires the WindowsUIView.BackButtonClick event instead.

See Also