Form.TabIndex Property

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft