Bagikan melalui


NavigationView.PaneCustomContent Properti

Definisi

Mendapatkan atau mengatur elemen UI yang diperlihatkan di panel NavigationView.

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

public:
 property UIElement ^ PaneCustomContent { UIElement ^ get(); void set(UIElement ^ value); };
UIElement PaneCustomContent();

void PaneCustomContent(UIElement value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=false)]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=false)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=false)]
UIElement PaneCustomContent();

void PaneCustomContent(UIElement value);
public UIElement PaneCustomContent { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=false)]
public UIElement PaneCustomContent { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=false)] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=false)] set; }
Public Property PaneCustomContent As UIElement

Nilai Properti

Elemen yang ditampilkan di panel NavigationView.

Atribut
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute

Keterangan

Properti PaneCustomContent mengambil satu UIElement. Ini biasanya merupakan panel tata letak, seperti Grid atau StackPanel, yang berisi elemen tambahan.

Berlaku untuk