共用方式為


SystemNavigationManager.AppViewBackButtonVisibility 屬性

定義

取得或設定值,指出系統 UI 中是否顯示返回按鈕。

public:
 property AppViewBackButtonVisibility AppViewBackButtonVisibility { AppViewBackButtonVisibility get(); void set(AppViewBackButtonVisibility value); };
AppViewBackButtonVisibility AppViewBackButtonVisibility();

void AppViewBackButtonVisibility(AppViewBackButtonVisibility value);
public AppViewBackButtonVisibility AppViewBackButtonVisibility { get; set; }
var appViewBackButtonVisibility = systemNavigationManager.appViewBackButtonVisibility;
systemNavigationManager.appViewBackButtonVisibility = appViewBackButtonVisibility;
Public Property AppViewBackButtonVisibility As AppViewBackButtonVisibility

屬性值

其中一個列舉值,指定系統 UI 中是否顯示返回按鈕。 預設值為 Collapsed

備註

如果您的應用程式依賴系統提供的 [上一頁] 按鈕,例如手機上的 [上一頁] 按鈕,您可以選擇在預設沒有系統返回按鈕的裝置平臺上顯示系統返回按鈕,例如桌面裝置。

適用於