Back to Devexpress

AppBar.IsBackButtonEnabled Property

wpf-devexpress-dot-xpf-dot-windowsui-dot-appbar-dc381367.md

latest2.2 KB
Original Source

AppBar.IsBackButtonEnabled Property

Gets or sets whether the Back button is displayed within the AppBar.

Namespace : DevExpress.Xpf.WindowsUI

Assembly : DevExpress.Xpf.Controls.v25.2.dll

NuGet Package : DevExpress.Wpf.Controls

Declaration

csharp
public bool IsBackButtonEnabled { get; set; }
vb
Public Property IsBackButtonEnabled As Boolean

Property Value

TypeDescription
Boolean

true, if the Back button is displayed; otherwise, false. The default value is false.

|

Remarks

In multi-screen applications, if you use the NavigationFrame to implement navigation between screens, you can display the Back button within the app bar. The Back button returns an end-user to the previous page of the application. To enable the Back button, set the IsBackButtonEnabled property to true. If it is possible to return to the previous page, the Back button is displayed at the leftmost position on the app bar; otherwise, the Back button is hidden. See the Navigation topic to learn more.

You can also use a custom command as the Back button’s command. To do this, use the AppBar.BackCommand property.

See Also

BackCommand

IsExitButtonEnabled

ExitCommand

Navigation

AppBar Class

AppBar Members

DevExpress.Xpf.WindowsUI Namespace