Class RuntimeObservableCollection<T>
This Collection handles internal ArcGIS Runtime collections and is functionally equivalent to
System.
Inheritance
Implements
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>. |
Block |
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. |
Check |
Check and assert for reentrant attempts to change this collection. |
Clear |
Called by base class Collection<T> when the list is being cleared; raises a CollectionChanged event to any listeners. |
Insert |
Called by base class Collection<T> when an item is added to list; raises a CollectionChanged event to any listeners. |
Move |
Called by base class ObservableCollection<T> when an item is to be moved within the list; raises a CollectionChanged event to any listeners. |
On |
Raises the Collection |
On |
Raises a PropertyChanged event (per |
On |
Raises a PropertyChanged event. |
Remove |
Called by base class Collection<T> when an item is removed from list; raises a CollectionChanged event to any listeners. |
Set |
Called by base class Collection<T> when an item is set in list; raises a CollectionChanged event to any listeners. |
Events
Name | Description |
---|---|
Collection |
Occurs when the collection changes, either by adding or removing an item. |
Property |
Do not use. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.13 |
.NET Framework | 100.0 - 100.8 |
.NET 5 | 100.11 |
.NET Core 3.1 | 100.7 - 100.8 |
Xamarin.Android | 100.0 - 100.13 |
Xamarin.iOS | 100.0 - 100.8 |
UWP | 100.0 - 100.15 |