Bagikan melalui


NavigationView.SelectionFollowsFocus Properti

Definisi

Mendapatkan atau mengatur nilai yang menunjukkan apakah pilihan item berubah saat fokus keyboard berubah.

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

Nilai Properti

Nilai enumerasi yang menunjukkan apakah pilihan berubah saat fokus keyboard berubah. Defaultnya adalah Dinonaktifkan.

Atribut
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Berlaku untuk