Show / Hide Table of Contents

Class LayerCollection

A collection of layers

Inheritance
System.Object
RuntimeCollection<Layer>
RuntimeObservableCollection<Layer>
LayerCollection
Implements
IEnumerable<Layer>
ICollection<Layer>
IEnumerable
IList
ICollection
IReadOnlyList<Layer>
IReadOnlyCollection<Layer>
INotifyPropertyChanged
INotifyCollectionChanged
RuntimeObservableCollection<Layer>.ClearItems()
RuntimeObservableCollection<Layer>.RemoveItem(Int32)
RuntimeObservableCollection<Layer>.InsertItem(Int32, Layer)
RuntimeObservableCollection<Layer>.AddRange(IEnumerable<Layer>)
RuntimeObservableCollection<Layer>.SetItem(Int32, Layer)
RuntimeObservableCollection<Layer>.MoveItem(Int32, Int32)
RuntimeObservableCollection<Layer>.BlockReentrancy()
RuntimeObservableCollection<Layer>.CheckReentrancy()
RuntimeObservableCollection<Layer>.OnPropertyChanged(String)
RuntimeObservableCollection<Layer>.OnPropertyChanged(PropertyChangedEventArgs)
RuntimeObservableCollection<Layer>.OnCollectionChanged(NotifyCollectionChangedEventArgs)
RuntimeObservableCollection<Layer>.PropertyChanged
RuntimeObservableCollection<Layer>.CollectionChanged
RuntimeCollection<Layer>.Item[Int32]
RuntimeCollection<Layer>.RemoveAt(Int32)
RuntimeCollection<Layer>.Insert(Int32, Layer)
RuntimeCollection<Layer>.Move(Int32, Int32)
RuntimeCollection<Layer>.IndexOf(Layer)
RuntimeCollection<Layer>.GetEnumerator()
RuntimeCollection<Layer>.IsReadOnly
RuntimeCollection<Layer>.Count
RuntimeCollection<Layer>.Add(Layer)
RuntimeCollection<Layer>.Clear()
RuntimeCollection<Layer>.Contains(Layer)
RuntimeCollection<Layer>.CopyTo(Layer[], Int32)
RuntimeCollection<Layer>.Remove(Layer)
Namespace: Esri.ArcGISRuntime.Mapping
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class LayerCollection : RuntimeObservableCollection<Layer>

Constructors

Name Description
LayerCollection()

Initializes a new instance of the LayerCollection class.

Properties

Name Description
Item[String]

Gets a layer in the collection by its Id.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 100.15

Relevant samples

Add an integrated mesh layer: View an integrated mesh layer from a scene service.
Add ENC exchange set: Display nautical charts per the ENC specification.
Add features: Add features to a feature layer.
Analyze hotspots: Use a geoprocessing service and a set of features to identify statistically significant hot spots and cold spots.
In This Article
Back to top Copyright © 2022 Esri.