Skip to main content
A newer version of this page is available. .

PageAdornerControl.ShowBackButton Property

Gets or sets whether the PageAdornerControl‘s Back Button should be displayed.

Namespace: DevExpress.Xpf.WindowsUI

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Controls, DevExpress.Wpf.Navigation

Declaration

public bool ShowBackButton { get; set; }

Property Value

Type Description
Boolean

true, if the PageAdornerControl‘s Back Button should be displayed; otherwise, false.

Remarks

A PageAdornerControl can display its Back Button if an end-user navigated to a view containing this PageAdornerControl (see the Navigation topic for the details). You can explicitly disable the Back Button by setting the ShowBackButton property to false. If a PageAdornerControl is located in the root view, it will hide its Back Button automatically.

You can also assign your own custom ICommand object to the Back Button. To do so, use the PageAdornerControl.BackCommand property.

Note that PageView and SlideView containers that can be used along with PageAdornerControl controls within a single view can also display their Back Buttons. In this case, set the ShowBackButton property of a PageAdornerControl or related properties of a PageView or SlideView container to false in order avoid Back Button duplication.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowBackButton property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also