Dela via


UIElement.XYFocusKeyboardNavigation Property

Definition

Gets or sets a value that enables or disables navigation using the keyboard directional arrows.

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

Property Value

A value of the enumeration. The default is Auto.

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Remarks

When this property is set to Auto, the behavior is inherited from the elements ancestors. If all ancestors have a value of Auto, the fallback behavior is Disabled.

Applies to

See also