System.Windows.Forms.Control.TabIndex Property

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

Syntax

[System.ComponentModel.MergableProperty(false)]
[System.ComponentModel.Localizable(true)]
public int TabIndex { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

A tab index can consist of any valid integer greater than or equal to zero, lower numbers being earlier in the tab order. If more than one control on the same parent control has the same tab index, the z-order of the controls determines the order to cycle through the controls.

For a control to be included in the tab order, its Control.TabStop property must be set to true.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0