ArcGIS API for Silverlight - Library Reference
GraphicCollection Class Members
See Also  Properties  Methods  Events Send comments on this topic
ESRI.ArcGIS.Client Namespace : GraphicCollection Class


The following tables list the members exposed by GraphicCollection.

Public Constructors

 NameDescription
public ConstructorGraphicCollection ConstructorOverloaded.   
Top

Public Properties

 NameDescription
public PropertyCountGets the number of elements actually contained in the Collection. (Inherited from System.Collections.ObjectModel.Collection<Graphic>)
public PropertyIsReadOnly If true, will throw InvalidOperationException when trying to modify the collection.  
public PropertyItemGets or sets the element at the specified index. (Inherited from System.Collections.ObjectModel.Collection<Graphic>)
Top

Protected Properties

 NameDescription
protected PropertyItemsGets a IList wrapper around the Collection. (Inherited from System.Collections.ObjectModel.Collection<Graphic>)
Top

Public Methods

 NameDescription
public MethodAddAdds an object to the end of the Collection. (Inherited from System.Collections.ObjectModel.Collection<Graphic>)
public MethodAddRange Adds graphic items to the end of the collection.  
public MethodClearRemoves all elements from the Collection. (Inherited from System.Collections.ObjectModel.Collection<Graphic>)
public MethodContainsDetermines whether an element is in the Collection. (Inherited from System.Collections.ObjectModel.Collection<Graphic>)
public MethodCopyToCopies the entire Collection to a compatible one-dimensional System.Array, starting at the specified index of the target array. (Inherited from System.Collections.ObjectModel.Collection<Graphic>)
public MethodGetEnumeratorReturns an enumerator that iterates through the Collection. (Inherited from System.Collections.ObjectModel.Collection<Graphic>)
public MethodIndexOfSearches for the specified object and returns the zero-based index of the first occurrence within the entire Collection. (Inherited from System.Collections.ObjectModel.Collection<Graphic>)
public MethodInsertInserts an element into the Collection at the specified index. (Inherited from System.Collections.ObjectModel.Collection<Graphic>)
public MethodRemoveRemoves the first occurrence of a specific object from the Collection. (Inherited from System.Collections.ObjectModel.Collection<Graphic>)
public MethodRemoveAtRemoves the element at the specified index of the Collection. (Inherited from System.Collections.ObjectModel.Collection<Graphic>)
Top

Protected Methods

 NameDescription
protected MethodClearItemsOverridden.  Raises collection clearing event before the collection is cleared.  
protected MethodInsertItemOverridden.  Inserts the item.  
protected MethodOnCollectionChanged (Inherited from System.Collections.ObjectModel.ObservableCollection<Graphic>)
protected MethodOnPropertyChanged (Inherited from System.Collections.ObjectModel.ObservableCollection<Graphic>)
protected MethodRemoveItemOverridden.  Removes the item.  
protected MethodSetItemOverridden.  Sets the item.  
Top

Public Events

 NameDescription
public EventCollectionChangedOccurs when an item is added, removed, changed, moved, or the entire list is refreshed. (Inherited from System.Collections.ObjectModel.ObservableCollection<Graphic>)
Top

Protected Events

 NameDescription
protected EventPropertyChangedOccurs when a property value changes. (Inherited from System.Collections.ObjectModel.ObservableCollection<Graphic>)
Top

See Also

© ESRI, Inc. All Rights Reserved.