Skip to main content

VectorMapLayerBuilder.SelectionMode(SelectionMode) Method

Specifies whether single or multiple map elements can be selected on a vector map. Mirrors the client-side selectionMode option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public VectorMapLayerBuilder SelectionMode(
    SelectionMode value
)

Parameters

Name Type Description
value SelectionMode

The option value.

Returns

Type Description
VectorMapLayerBuilder

A reference to this instance after the method is called.

Remarks

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

@(Html.DevExtreme().VectorMap()
    .Layers(layers => {
        layers.Add().SelectionMode(SelectionMode.Multiple);
    })
)
See Also