Share via


NavigationView.SelectionFollowsFocus 屬性

定義

取得或設定值,這個值表示項目選取專案在鍵盤焦點變更時是否變更。

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

屬性值

列舉值,指出鍵盤焦點變更時是否變更選取範圍。 預設值為 Disabled

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

適用於