Share via


NavigationView.PaneFooter Property

Definition

Gets or sets the content for the pane footer.

This documentation applies to WinUI 2 for UWP (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; }
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.

You can place any content into the PaneFooter, but you should not put NavigationViewItems into it, because they will not participate in the selection model for the NavigationView - clicking on them will not raise the NavigationView.SelectionChanged event.

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 or the NavigationView.FooterMenuItems collection.

The PaneFooter is placed at the end of the navigation pane, but before FooterMenuItems.

Applies to