Udostępnij za pośrednictwem


UIElement.TabFocusNavigation Property

Definition

Gets or sets a value that modifies how tabbing and TabIndex work for this control.

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

Property Value

A value of the enumeration. The default is Local.

Windows requirements

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

Remarks

Use this property instead of the Control.TabNavigation property for objects that do not use a ControlTemplate to define their appearance.

Note

For Windows 10 Creators Update (build 10.0.15063) and newer, use this property of the UIElement base class instead of the TabNavigation property of a Control object.

Applies to

See also