Skip to main content

PageAdornerControl.ShowBackButton Property

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

Namespace: DevExpress.Xpf.WindowsUI

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


public bool ShowBackButton { get; set; }

Property Value

Type Description

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


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.

See Also