Share via


NavigationView.TemplateSettings Property

Definition

Gets an object that provides calculated values that can be referenced as TemplateBinding sources when defining templates for a NavigationView control.

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

NavigationViewTemplateSettings TemplateSettings();
public NavigationViewTemplateSettings TemplateSettings { get; }
var navigationViewTemplateSettings = navigationView.templateSettings;
Public ReadOnly Property TemplateSettings As NavigationViewTemplateSettings

Property Value

An object that provides calculated values for templates.

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Applies to