Show / Hide Table of Contents

Class RuntimeObservableCollection<T>

This Collection handles internal ArcGIS Runtime collections and is functionally equivalent to System.Collections.ObjectModel.ObservableCollection{T}. This type is for internal use only and is not meant to be used directly. Instead use the concrete subclasses provided.

Inheritance
System.Object
RuntimeCollection<T>
RuntimeObservableCollection<T>
BookmarkCollection
ElevationSourceCollection
LayerCollection
ObjectCollection
KmlGeometryCollection
KmlNodeCollection
StringCollection
ClassBreakCollection
UniqueValueCollection
AnalysisCollection
AnalysisOverlayCollection
GraphicCollection
GraphicsOverlayCollection
ImageOverlayCollection
Implements
IEnumerable<T>
ICollection<T>
IEnumerable
IList
ICollection
IReadOnlyList<T>
IReadOnlyCollection<T>
INotifyPropertyChanged
INotifyCollectionChanged
RuntimeCollection<T>.Item[Int32]
RuntimeCollection<T>.RemoveAt(Int32)
RuntimeCollection<T>.Insert(Int32, T)
RuntimeCollection<T>.Move(Int32, Int32)
RuntimeCollection<T>.IndexOf(T)
RuntimeCollection<T>.GetEnumerator()
RuntimeCollection<T>.IsReadOnly
RuntimeCollection<T>.Count
RuntimeCollection<T>.Add(T)
RuntimeCollection<T>.Clear()
RuntimeCollection<T>.Contains(T)
RuntimeCollection<T>.CopyTo(T[], Int32)
RuntimeCollection<T>.Remove(T)
Namespace: Esri.ArcGISRuntime
Assembly: Esri.ArcGISRuntime.dll
Syntax
public abstract class RuntimeObservableCollection<T> : RuntimeCollection<T>
Type Parameters
Name Description
T

The item type in the collection.

Methods

Name Description
AddRange(IEnumerable<T>)

Adds the elements of the specified collection to the end of the RuntimeCollection<T>.

BlockReentrancy()

Disallow reentrant attempts to change this collection. E.g. a event handler of the CollectionChanged event is not allowed to make changes to this collection.

CheckReentrancy()

Check and assert for reentrant attempts to change this collection.

ClearItems()

Called by base class Collection<T> when the list is being cleared; raises a CollectionChanged event to any listeners.

InsertItem(Int32, T)

Called by base class Collection<T> when an item is added to list; raises a CollectionChanged event to any listeners.

MoveItem(Int32, Int32)

Called by base class ObservableCollection<T> when an item is to be moved within the list; raises a CollectionChanged event to any listeners.

OnCollectionChanged(NotifyCollectionChangedEventArgs)

Raises the CollectionChanged event with the provided arguments.

OnPropertyChanged(PropertyChangedEventArgs)

Raises a PropertyChanged event (per ).

OnPropertyChanged(String)

Raises a PropertyChanged event.

RemoveItem(Int32)

Called by base class Collection<T> when an item is removed from list; raises a CollectionChanged event to any listeners.

SetItem(Int32, T)

Called by base class Collection<T> when an item is set in list; raises a CollectionChanged event to any listeners.

Events

Name Description
CollectionChanged

Occurs when the collection changes, either by adding or removing an item.

PropertyChanged

Do not use.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 100.13
.NET Framework100.0 - 100.8
.NET 5100.11
.NET Core 3.1100.7 - 100.8
Xamarin.Android100.0 - 100.13
Xamarin.iOS100.0 - 100.8
UWP100.0 - 100.15
In This Article
Back to top Copyright © 2022 Esri.