NavigationViewBackButtonVisible Enum

Definition

Defines constants that specify whether the back button is visible in NavigationView.

public enum class NavigationViewBackButtonVisible
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.WebHostHidden]
enum NavigationViewBackButtonVisible
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.WebHostHidden]
public enum NavigationViewBackButtonVisible
Public Enum NavigationViewBackButtonVisible
Inheritance
NavigationViewBackButtonVisible
Attributes

Windows 10 requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Fields

Auto 2

The system chooses whether or not to display the back button, depending on the device/form factor. On phones, tablets, desktops, and hubs, the back button is visible. On Xbox/TV, the back button is collapsed.

Collapsed 0

Do not display the back button in NavigationView, and do not reserve space for it in layout.

Visible 1

Display the back button in NavigationView.

Applies to