NavigationView.PaneCustomContent Propriedade

Definição

Obtém ou define um elemento de interface do usuário mostrado no painel NavigationView.

public:
 property UIElement ^ PaneCustomContent { UIElement ^ get(); void set(UIElement ^ value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=false)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=false)]
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 { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=false)] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=false)] 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; }
var uIElement = navigationView.paneCustomContent;
navigationView.paneCustomContent = uIElement;
Public Property PaneCustomContent As UIElement

Valor da propriedade

O elemento mostrado no painel NavigationView.

Atributos
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute

Comentários

A propriedade PaneCustomContent usa um único UIElement. Normalmente, esse é um painel de layout, como Grid ou StackPanel, que contém elementos adicionais.

Aplica-se a