WindowsFormsHost.TabIndex 屬性

定義

取得或設定裝載控制項的定位點索引。

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

屬性值

TAB 導覽和焦點的定位點索引。

屬性

備註

此相依性屬性是由 TabIndexProperty 欄位識別。

使用此屬性可變更表單上控制項之間的索引標籤流覽順序。 具有較低索引索引的控制項會在具有較高索引的控制項之前取得焦點。

XAML Attribute Usage

<object TabIndex="int"/>

相依性屬性資訊

識別碼欄位 TabIndexProperty
設定為 的中繼資料屬性 true

適用於

另請參閱