Show / Hide Table of Contents

Class GraphicCollection

An observable collection of Graphic.

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

Methods

Name Description
FromJsonAsync(String)

Deserializes the graphics from a JSON string containing the result of a query.

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 graphics with symbols: Use a symbol style to display a graphic on a graphics overlay.
Buffer: Create a buffer around a map point and display the results as a `Graphic`
In This Article
Back to top Copyright © 2022 Esri.