Skip to main content

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

public TreeMapBuilder SelectionMode(
    SelectionMode value
)

Parameters

Name Type Description
value SelectionMode

The option value.

Returns

Type Description
TreeMapBuilder

A reference to this instance after the method is called.

Remarks

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

@(Html.DevExtreme().TreeMap()
    .SelectionMode(SelectionMode.Multiple)
)
See Also