NavigationView.PaneFooter 屬性

定義

取得或設定窗格頁尾的內容。

適用于 UWP 的對等 WinUI 2 APIMicrosoft.UI.Xaml.Controls.NavigationView.PaneFooter (Windows 應用程式 SDK,請參閱Windows 應用程式 SDK命名空間) 。

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>

屬性值

窗格頁尾的內容。 預設值為 null

備註

PaneFooter 屬性會採用單一 UIElement,它可以是包含其他元素的版面配置面板。

如果您在 PaneFooter 中放置 NavigationViewItem ,它將不會引發 NavigationView.ItemInvoked 事件。 只有當 NavigationViewItem 位於 NavigationView.MenuItems 集合中時,才會引發 ItemInvoked 事件。

適用於