Share via


UIElement.TabIndex Property

Definition

Gets or sets a value that determines the order in which elements receive focus when the user navigates through controls using 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 = uIElement.tabIndex;
uIElement.tabIndex = int32;
Public Property TabIndex As Integer

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.

Applies to

See also