Back to Devexpress

TabsBuilder.SelectionMode(NavSelectionMode) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-tabsbuilder-dot-selectionmode-x28-devextreme-dot-aspnet-dot-mvc-dot-navselectionmode-x29.md

latest1.3 KB
Original Source

TabsBuilder.SelectionMode(NavSelectionMode) Method

Specifies whether the UI component enables an end user to select only a single item or multiple items. Mirrors the client-side selectionMode option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public TabsBuilder SelectionMode(
    NavSelectionMode value
)

Parameters

NameTypeDescription
valueNavSelectionMode

The option value.

|

Returns

TypeDescription
TabsBuilder

A reference to this instance after the method is called.

|

Remarks

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

cshtml
@(Html.DevExtreme().Tabs()
    .SelectionMode(NavSelectionMode.Multiple)
)

See Also

TabsBuilder Class

TabsBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace