VectorMapLayerBuilder.SelectionMode(SelectionMode) Method
In This Article
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
C#
public VectorMapLayerBuilder SelectionMode(
SelectionMode value
)
#Parameters
Name | Type | Description |
---|---|---|
value | Selection |
The option value. |
#Returns
Type | Description |
---|---|
Vector |
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