NavigationView.IsSettingsVisible 屬性

定義

取得或設定值,這個值表示是否顯示 [設定] 按鈕。

本檔適用于 Windows 應用程式 SDK 中適用于 WinUI 的 WinUI 2 for UWP (,請參閱Windows 應用程式 SDK命名空間) 。

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

void IsSettingsVisible(bool value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
bool IsSettingsVisible();

void IsSettingsVisible(bool value);
public bool IsSettingsVisible { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
public bool IsSettingsVisible { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] set; }
Public Property IsSettingsVisible As Boolean
<NavigationView IsSettingsVisible="bool" .../>

屬性值

Boolean

bool

如果顯示 [設定] 按鈕,則為true;否則為false。 預設值為 True

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

適用於