NavigationView.PaneTitle Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).
public:
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)
|