共用方式為


NavigationView.IsBackButtonVisible 屬性

定義

取得或設定值,這個值表示是否顯示 [上一頁] 按鈕。 默認值為 “Auto”,表示按鈕可見性取決於 NavigationView 的 DisplayMode 設定。

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" .../>

屬性值

列舉值,指定 NavigationView 傳回按鈕的可見性。 預設值為 「Auto」。

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

適用於