語言

NavigationView.IsSettingsVisible 屬性

定義

會取得或設定一個值,指示設定按鈕是否顯示。

public:
 property bool IsSettingsVisible { bool get(); void set(bool value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
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 { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] 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; }
var boolean = navigationView.isSettingsVisible;
navigationView.isSettingsVisible = boolean;
Public Property IsSettingsVisible As Boolean
<NavigationView IsSettingsVisible="bool" .../>

屬性值

Boolean

bool

如果顯示設定按鈕,則為 true;否則,則為錯誤。 預設值為 True。

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

適用於