TabIndex Property

WindowsFormsHost.TabIndex Property


Gets or sets the hosted control's tab index.

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

Public Property TabIndex As Integer

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


Metadata properties set to true


.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft