แก้ไข

แชร์ผ่าน


WindowsFormsHost.TabIndex Property

Definition

Gets or sets the hosted control's tab index.

public:
 property int TabIndex { int get(); void set(int value); };
[System.ComponentModel.Bindable(true)]
public int TabIndex { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.TabIndex : int with get, set
Public Property TabIndex As Integer

Property Value

The tab index for tab navigation and focus.

Attributes

Remarks

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.

XAML Attribute Usage

<object TabIndex="int"/>

Dependency Property Information

Identifier field TabIndexProperty
Metadata properties set to true None

Applies to

See also