Back to Devexpress

VectorLayerBase.EnableSelection Property

wpf-devexpress-dot-xpf-dot-map-dot-vectorlayerbase-703641b8.md

latest2.0 KB
Original Source

VectorLayerBase.EnableSelection Property

Gets or sets a value indicating whether selection is enabled or not.

Namespace : DevExpress.Xpf.Map

Assembly : DevExpress.Xpf.Map.v25.2.dll

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public bool EnableSelection { get; set; }
vb
Public Property EnableSelection As Boolean

Property Value

TypeDescription
Boolean

true, to enable selection; otherwise, false.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EnableSelection property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-map-use-ray-casting-algorithm-to-check-if-point-is-inside-polygon/CS/DXMapShapeFile1/MainWindow.xaml#L7

xml
<dxm:MapControl Name="mapControl" >
    <dxm:VectorLayer Name="vectorLayer" MouseDoubleClick="vLayer_MouseDoubleClick" EnableSelection="False" >
        <dxm:VectorLayer.Data >

See Also

VectorLayerBase Class

VectorLayerBase Members

DevExpress.Xpf.Map Namespace