MapItem.EnableSelection Property
Indicates whether a map item can be selected.
Namespace: DevExpress.Xpf.Map
Assembly: DevExpress.Xpf.Map.v24.2.dll
NuGet Package: DevExpress.Wpf.Map
Declaration
Property Value
Type | Description |
---|---|
Nullable<Boolean> | true if a map item can be selected; otherwise, false. |
Remarks
The MapItem.EnableSelection property has a higher priority than the VectorLayerBase.EnableSelection property specified for the map layer that contains the map item.
The following example disables selection for all items on the VectorLayer except the MapEllipse item:
<dxm:VectorLayer x:Name="vectorLayer" EnableSelection="False">
<dxm:MapItemStorage>
<dxm:MapDot Location="-80, -90" Size="20"/>
<dxm:MapEllipse Location="-60, -90" Width="2000" Height="1000" EnableSelection="True" />
<dxm:MapLine Point1="-40, -90" Point2="-50, -70"/>
</dxm:MapItemStorage>
</dxm:VectorLayer>
See Also