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 |
---|---|
CanChangeVisibility | Gets a value indicating whether the layer content's visibility can be changed. |
IsVisible | Gets or sets a value indicating whether the layer content is visible. |
Name | Gets the name of the layer content. |
ShowInLegend | Gets or sets a value indicating whether the layer content participates in the legend. |
SublayerContents | Gets the sub layer contents of a layer content. |
Methods
Name | Description |
---|---|
GetLegendInfosAsync() | Returns an immutable list of LegendInfo. |
IsVisibleAtScale(Double) | 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.