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.

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