共用方式為


UIElement.XYFocusKeyboardNavigation 屬性

定義

取得或設定值,這個值會啟用或停用使用鍵盤方向箭號的流覽。

public:
 property XYFocusKeyboardNavigationMode XYFocusKeyboardNavigation { XYFocusKeyboardNavigationMode get(); void set(XYFocusKeyboardNavigationMode value); };
XYFocusKeyboardNavigationMode XYFocusKeyboardNavigation();

void XYFocusKeyboardNavigation(XYFocusKeyboardNavigationMode value);
public XYFocusKeyboardNavigationMode XYFocusKeyboardNavigation { get; set; }
var xYFocusKeyboardNavigationMode = uIElement.xYFocusKeyboardNavigation;
uIElement.xYFocusKeyboardNavigation = xYFocusKeyboardNavigationMode;
Public Property XYFocusKeyboardNavigation As XYFocusKeyboardNavigationMode
<uiElement XYFocusKeyboardNavigation="xyFocusKeyboardNavigationModeMemberName"/>

屬性值

列舉值。 預設值為 Auto

Windows 需求

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

備註

當此屬性設定為 Auto時,行為會繼承自元素上階。 如果所有上階都有 Auto的值,後援行為會是 Disabled

適用於

另請參閱