TabIndex Property

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)

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
© 2015 Microsoft