NavigationView.SelectionFollowsFocus Property

Definition

Gets or sets a value that indicates whether item selection changes when keyboard focus changes.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 property NavigationViewSelectionFollowsFocus SelectionFollowsFocus { NavigationViewSelectionFollowsFocus get(); void set(NavigationViewSelectionFollowsFocus value); };
NavigationViewSelectionFollowsFocus SelectionFollowsFocus();

void SelectionFollowsFocus(NavigationViewSelectionFollowsFocus value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewSelectionFollowsFocus::Disabled")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewSelectionFollowsFocus::Disabled")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewSelectionFollowsFocus::Disabled")]
NavigationViewSelectionFollowsFocus SelectionFollowsFocus();

void SelectionFollowsFocus(NavigationViewSelectionFollowsFocus value);
public NavigationViewSelectionFollowsFocus SelectionFollowsFocus { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewSelectionFollowsFocus::Disabled")]
public NavigationViewSelectionFollowsFocus SelectionFollowsFocus { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewSelectionFollowsFocus::Disabled")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewSelectionFollowsFocus::Disabled")] set; }
Public Property SelectionFollowsFocus As NavigationViewSelectionFollowsFocus

Property Value

A value of the enumeration that indicates whether selection changes when keyboard focus changes. The default is Disabled.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to