Interface ILayerContent
An interface for building a Table of Contents.
Namespace: Esri.ArcGISRuntime.Mapping
Assembly: Esri.ArcGISRuntime.dll
Syntax
public interface ILayerContent
Properties
Name | Description |
---|---|
Can |
Gets a value indicating whether the layer content's visibility can be changed. |
Is |
Gets or sets a value indicating whether the layer content is visible. |
Name | Gets the name of the layer content. |
Show |
Gets or sets a value indicating whether the layer content participates in the legend. |
Sublayer |
Gets the sub layer contents of a layer content. |
Methods
Name | Description |
---|---|
Get |
Returns an immutable list of Legend |
Is |
Returns the layer content's effective visibility at the specified scale. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |
Relevant samples
Control annotation sublayer visibility: Use annotation sublayers to gain finer control of annotation layer subtypes.
Identify layers: Identify features in all layers in a map. MapView supports identifying features across multiple layers. Because some layer types have sublayers, the sample recursively counts results for sublayers within each layer.
Select ENC features: Select features in an ENC layer.