WindowsUIView.NavigationBarsButtonClick Event

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

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

public event NavigationBarsButtonClickEventHandler NavigationBarsButtonClick
Public Event NavigationBarsButtonClick As NavigationBarsButtonClickEventHandler

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