Share via


NavigationView.SelectionFollowsFocus Property

Definition

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

public:
 property NavigationViewSelectionFollowsFocus SelectionFollowsFocus { NavigationViewSelectionFollowsFocus get(); void set(NavigationViewSelectionFollowsFocus value); };
/// [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);
/// [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 { [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")]
public NavigationViewSelectionFollowsFocus SelectionFollowsFocus { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewSelectionFollowsFocus::Disabled")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NavigationViewSelectionFollowsFocus::Disabled")] set; }
var navigationViewSelectionFollowsFocus = navigationView.selectionFollowsFocus;
navigationView.selectionFollowsFocus = navigationViewSelectionFollowsFocus;
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