NavigationView.IsBackButtonVisible Propiedad

Definición

Obtiene o establece un valor que indica si el botón Atrás está visible o no. El valor predeterminado es "Auto", que indica que la visibilidad del botón depende de la configuración DisplayMode de NavigationView.

public:
 property NavigationViewBackButtonVisible IsBackButtonVisible { NavigationViewBackButtonVisible get(); void set(NavigationViewBackButtonVisible value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewBackButtonVisible::Auto")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewBackButtonVisible::Auto")]
NavigationViewBackButtonVisible IsBackButtonVisible();

void IsBackButtonVisible(NavigationViewBackButtonVisible value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewBackButtonVisible::Auto")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewBackButtonVisible::Auto")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewBackButtonVisible::Auto")]
NavigationViewBackButtonVisible IsBackButtonVisible();

void IsBackButtonVisible(NavigationViewBackButtonVisible value);
public NavigationViewBackButtonVisible IsBackButtonVisible { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewBackButtonVisible::Auto")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewBackButtonVisible::Auto")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewBackButtonVisible::Auto")]
public NavigationViewBackButtonVisible IsBackButtonVisible { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewBackButtonVisible::Auto")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewBackButtonVisible::Auto")] set; }
var navigationViewBackButtonVisible = navigationView.isBackButtonVisible;
navigationView.isBackButtonVisible = navigationViewBackButtonVisible;
Public Property IsBackButtonVisible As NavigationViewBackButtonVisible
<NavigationView IsBackButtonVisible="backButtonVisibleEnumVal" .../>

Valor de propiedad

Valor de la enumeración que especifica la visibilidad del botón Atrás navigationView. El valor predeterminado es "Auto".

Atributos
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Se aplica a