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

Fires when an end-user clicks a ‘Back’ button within a Navigation Bar.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public event BackButtonClickEventHandler BackButtonClick

#Event Data

The BackButtonClick event's data class is DevExpress.XtraBars.Docking2010.Views.WindowsUI.BackButtonClickEventArgs.

#Remarks

The BackButtonClick event is raised only for a ‘Back’ button. For other buttons, whether they are standard container buttons (‘Flip’, ‘Rotate’, ‘Overview’ etc) or your own custom buttons added to BaseContentContainer.Actions and WindowsUIView.ContentContainerActions collections, handle the WindowsUIView.NavigationBarsButtonClick event instead.

A ‘Back’ button can also be repainted separately from other Navigation Bar buttons. To do this, handle the WindowsUIView.CustomDrawBackButton event.

See Also