NavigationView.PaneHeader Property

Definition

Gets or sets the content for the pane header.

C#
public UIElement PaneHeader { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=false)] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=false)] set; }
C#
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=false)]
public UIElement PaneHeader { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=false)] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=false)] set; }
XAML
<NavigationView>
  <NavigationView.PaneHeader>
    headerElement
  </NavigationView.PaneHeader>
</NavigationView>

Property Value

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

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute

Remarks

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

Applies to

Produkt Verzie
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6