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"/>

属性值

枚举的一个值。 默认值为 “自动”。

注解

当此属性设置为 “自动”时,该行为继承自元素上级。 如果所有上级都具有 “自动”值,则回退行为为 “禁用”。

适用于

另请参阅