Layer.Selectable Property
Gets or sets a value that determines whether features in this Layer can be selected.
Thread safety: This property is thread-safe.
Syntax
public System.Boolean Selectable { get; set; }
Property Value
Type: System.Boolean
Default: Differs depending on type. See the table below.
True if features in this layer can be selected; otherwise, False.
Default: Differs depending on type. See the table below.
True if features in this layer can be selected; otherwise, False.
Default values
Class | Default value |
---|---|
AggregatingLayer | false |
BitmapLayer | false |
CatalogLayer | false |
CatalogLoadLayerSet | false |
CatalogMap | false |
GlobeTileLayer | false |
LabelOrganizingLayer | false |
LayerSet | false |
LoadLayerSet | false |
OgcWmsLayer | Not used. |
OgcWmsServerLayer | Not used. |
OgcWmtsLayer | Not used. |
OgcWmtsServerLayer | Not used. |
OrdinaryLayer | false |
PlotLayer | false |
RadarVideoLayer | false |
ScreenLayer | false |
TileLayer | false |
Example
// Set the layer selectable
public static void SetLayerSelectable(Layer layer)
{
// Set selectable to true
layer.Selectable = true;
}
Platforms
Windows, Linux, Android