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


The following tables list the members exposed by LayerCollection.

Public Constructors

 NameDescription
public ConstructorLayerCollection ConstructorInitializes a new instance of the LayerCollection class.  
Top

Public Properties

 NameDescription
public PropertyCountGets the number of elements actually contained in the Collection. (Inherited from System.Collections.ObjectModel.Collection<Layer>)
public PropertyItemGets the Layer with the specified ID.  
Top

Protected Properties

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

Public Methods

 NameDescription
public MethodAddAdds an object to the end of the Collection. (Inherited from System.Collections.ObjectModel.Collection<Layer>)
public MethodClearRemoves all elements from the Collection. (Inherited from System.Collections.ObjectModel.Collection<Layer>)
public MethodContainsDetermines whether an element is in the Collection. (Inherited from System.Collections.ObjectModel.Collection<Layer>)
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<Layer>)
public MethodGetEnumeratorReturns an enumerator that iterates through the Collection. (Inherited from System.Collections.ObjectModel.Collection<Layer>)
public MethodGetFullExtent Gets the full combined extent of all layers  
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<Layer>)
public MethodInsertInserts an element into the Collection at the specified index. (Inherited from System.Collections.ObjectModel.Collection<Layer>)
public MethodMoveMoves the item at the specified index to a new location in the collection. (Inherited from System.Collections.ObjectModel.ObservableCollection<Layer>)
public MethodRemoveRemoves the first occurrence of a specific object from the Collection. (Inherited from System.Collections.ObjectModel.Collection<Layer>)
public MethodRemoveAtRemoves the element at the specified index of the Collection. (Inherited from System.Collections.ObjectModel.Collection<Layer>)
Top

Protected Methods

 NameDescription
protected MethodBlockReentrancyDisallows reentrant attempts to change this collection. (Inherited from System.Collections.ObjectModel.ObservableCollection<Layer>)
protected MethodCheckReentrancyChecks for reentrant attempts to change this collection. (Inherited from System.Collections.ObjectModel.ObservableCollection<Layer>)
protected MethodClearItemsOverridden.  Removes all items from the collection.  
protected MethodInsertItemInserts an element into the Collection at the specified index. (Inherited from System.Collections.ObjectModel.Collection<Layer>)
protected MethodMoveItemMoves the item at the specified index to a new location in the collection. (Inherited from System.Collections.ObjectModel.ObservableCollection<Layer>)
protected MethodOnCollectionChanged (Inherited from System.Collections.ObjectModel.ObservableCollection<Layer>)
protected MethodOnPropertyChanged (Inherited from System.Collections.ObjectModel.ObservableCollection<Layer>)
protected MethodRemoveItemRemoves the element at the specified index of the Collection. (Inherited from System.Collections.ObjectModel.Collection<Layer>)
protected MethodSetItemReplaces the element at the specified index. (Inherited from System.Collections.ObjectModel.Collection<Layer>)
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<Layer>)
public EventLayersInitialized Occurs when all layers in the collection is initialized.  
Top

Protected Events

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

See Also

© ESRI, Inc. All Rights Reserved.