TabIndex Property

WindowsFormsHost.TabIndex Property

 

Gets or sets the hosted control's tab index.

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

<BindableAttribute(True)>
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

TabIndexProperty

Metadata properties set to true

None

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