UIElement.TabFocusNavigation 屬性

定義

取得或設定值,這個值會修改 Tabbing 和 TabIndex 對此控制項的運作方式。

public:
 property KeyboardNavigationMode TabFocusNavigation { KeyboardNavigationMode get(); void set(KeyboardNavigationMode value); };
KeyboardNavigationMode TabFocusNavigation();

void TabFocusNavigation(KeyboardNavigationMode value);
public KeyboardNavigationMode TabFocusNavigation { get; set; }
var keyboardNavigationMode = uIElement.tabFocusNavigation;
uIElement.tabFocusNavigation = keyboardNavigationMode;
Public Property TabFocusNavigation As KeyboardNavigationMode
<uiElement TabFocusNavigation="keyboardNavigationModeMemberName"/>

屬性值

列舉值。 預設值為 Local

Windows 需求

裝置系列
Windows 10 Creators Update (已於 10.0.15063.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)

備註

針對不使用 ControlTemplate 的物件使用此屬性而非 Control.TabNavigation 屬性,以定義其外觀。

注意

針對Windows 10 Creators Update (組建 10.0.15063) 和更新版本,請使用UIElement基類的這個屬性,而不是Control物件的TabNavigation屬性。

適用於

另請參閱