WindowsFormsHost.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 hosted control's tab index.

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

[BindableAttribute(true)]
public int TabIndex { get; set; }

Property Value

Type: System.Int32

The tab index for tab navigation and focus.

This dependency property is identified by the TabIndexProperty field.

Use this property to change the order of tab navigation among the controls on a form. A control with a lower tab index will get focus before a control with a higher index.

<object TabIndex="int"/>

Identifier field

TabIndexProperty

Metadata properties set to true

None

.NET Framework
Available since 3.0
Return to top
Show: