Bagikan melalui


NavigationView.IsPaneVisible Properti

Definisi

Mendapatkan atau menetapkan nilai yang menentukan apakah panel ditampilkan.

Dokumentasi ini berlaku untuk WinUI 2 untuk UWP (untuk WinUI di SDK Aplikasi Windows, lihat namespace SDK Aplikasi Windows).

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

void IsPaneVisible(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 IsPaneVisible();

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

Nilai Properti

Boolean

bool

true adalah panel ditampilkan; jika tidak, salah. Defaultnya adalah true

Atribut
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Berlaku untuk