-api-id | -api-type |
---|---|
P:Microsoft.UI.Xaml.Controls.NavigationView.Header |
winrt property |
Gets or sets the header content.
The header content for the NavigationView.
<NavigationView Header="headerString"/>
<NavigationView>
<NavigationView.Header>
headerObject
</NavigationView.Header>
</NavigationView>
- headerString
- headerStringA text string that serves as header content.
- headerObject
- headerObjectAn single object element that serves as header content. Use discretion when using objects as header content; not all objects are suitable for use within the limited presentation surface that appears for headers.