Share via


NavigationView.SelectedItemProperty Property

Definition

Identifies the SelectedItem dependency property.

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

public:
 static property DependencyProperty ^ SelectedItemProperty { DependencyProperty ^ get(); };
static DependencyProperty SelectedItemProperty();
public static DependencyProperty SelectedItemProperty { get; }
var dependencyProperty = NavigationView.selectedItemProperty;
Public Shared ReadOnly Property SelectedItemProperty As DependencyProperty

Property Value

The identifier for the SelectedItem dependency property.

Applies to