Back to Devexpress

TreeMapBuilder.SelectionMode(SelectionMode) Method

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

latest1.4 KB
Original Source

TreeMapBuilder.SelectionMode(SelectionMode) Method

Specifies whether a single or multiple nodes can be in the selected state simultaneously. Mirrors the client-side selectionMode option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public TreeMapBuilder SelectionMode(
    SelectionMode value
)

Parameters

NameTypeDescription
valueSelectionMode

The option value.

|

Returns

TypeDescription
TreeMapBuilder

A reference to this instance after the method is called.

|

Remarks

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

cshtml
@(Html.DevExtreme().TreeMap()
    .SelectionMode(SelectionMode.Multiple)
)

See Also

TreeMapBuilder Class

TreeMapBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace