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.v24.1.dll

NuGet Package: DevExpress.Wpf.Controls

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.

See Also