Back to Devexpress

MenuBuilder.TabIndex(Int32) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-menubuilder-dot-tabindex-x28-system-dot-int32-x29.md

latest1.2 KB
Original Source

MenuBuilder.TabIndex(Int32) Method

Specifies the number of the element when the Tab key is used for navigating. Mirrors the client-side tabIndex option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public MenuBuilder TabIndex(
    int value
)

Parameters

NameTypeDescription
valueInt32

The option value.

|

Returns

TypeDescription
MenuBuilder

A reference to this instance after the method is called.

|

Remarks

Use the following notation to set the option’s value:

cshtml
@(Html.DevExtreme().Menu()
    .TabIndex(10)
)

See Also

MenuBuilder Class

MenuBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace