HtmlElement.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 location of this element in the tab order.
public:
property short TabIndex { short get(); void set(short value); };
public short TabIndex { get; set; }
member this.TabIndex : int16 with get, set
Public Property TabIndex As Short
Property Value
The numeric index of the element in the tab order.
Remarks
TabIndex determines which element in an HTML document will next receive focus when the user presses the TAB key. By default, the only elements included in the tab order are INPUT
elements, the SELECT
control, and any element whose contentEditable
property is set to true
. You can include any HTML element in the tab order, such as a DIV
, by assigning it an explicit TabIndex.
Valid values for TabIndex range from -32767 to 32767.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om