Form.TabIndex Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the tab order of the control within its container.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

[BrowsableAttribute(false)]
public int TabIndex { get; set; }

Property Value

Type: System.Int32

An Int32 containing the index of the control within the set of controls within its container that is included in the tab order.

Forms are not included in the tab order. Setting the TabIndex property does nothing.

.NET Framework
Available since 1.1
Return to top
Show: