NavigationView.PaneTitle Property


Gets or sets the label adjacent to the menu icon when the NavigationView pane is open.

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

 property Platform::String ^ PaneTitle { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring PaneTitle();

void PaneTitle(winrt::hstring value);
public string PaneTitle { get; set; }
var string = navigationView.paneTitle;
navigationView.paneTitle = string;
Public Property PaneTitle As String
<NavigationView PaneTitle="string" .../>

Property Value




The label adjacent to the menu icon when the pane is open. The default is an empty string.

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Applies to