Delen via


NavigationView.PaneFooter Property

Definition

Gets or sets the content for the pane footer.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.NavigationView.PaneFooter (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

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

void PaneFooter(UIElement value);
public UIElement PaneFooter { get; set; }
var uIElement = navigationView.paneFooter;
navigationView.paneFooter = uIElement;
Public Property PaneFooter As UIElement
<NavigationView>
  <NavigationView.PaneFooter>
    footerElement
  </NavigationView.PaneFooter>
</NavigationView>

Property Value

The content of the pane footer. The default is null.

Remarks

The PaneFooter property takes a single UIElement, which can be a layout panel that contains additional elements.

If you place a NavigationViewItem in the PaneFooter, it will not raise the NavigationView.ItemInvoked event. The ItemInvoked event is raised only when the NavigationViewItem is in the NavigationView.MenuItems collection.

Applies to