Control.TabIndex Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that determines the order in which elements receive focus when the user navigates through controls by pressing the Tab key.
public:
property int TabIndex { int get(); void set(int value); };
int TabIndex();
void TabIndex(int value);
public int TabIndex { get; set; }
var int32 = control.tabIndex;
control.tabIndex = int32;
Public Property TabIndex As Integer
<control TabIndex="int"/>
Property Value
-
Int32
int
A value that determines the order of logical navigation for a device. The default value is MaxValue with the tab order based on declaration order in the XAML or child collections.
Remarks
For UWP apps, initial focus is set to the element with the highest TabIndex that can receive focus. Child elements of container controls are ignored. In a tie, the first element in the visual tree receives focus.
Applies to
See also
Feedback
Submit and view feedback for