WindowsFormsHost.TabIndex Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Item | Value |
---|---|
Identifier field | TabIndexProperty |
Metadata properties set to true |
None |
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.