ArcGIS API for WPF - Library Reference
CollectionChanged Event
See Also  Send comments on this topic
ESRI.ArcGIS.Client Namespace > GraphicsDataSource Class : CollectionChanged Event

Occurs when the items list of the collection has changed, or the collection is reset.

Syntax

Visual Basic (Declaration) 
Public Event CollectionChanged As NotifyCollectionChangedEventHandler
C# 
public event NotifyCollectionChangedEventHandler CollectionChanged

Event Data

The event handler receives an argument of type NotifyCollectionChangedEventArgs containing data related to this event. The following NotifyCollectionChangedEventArgs properties provide information specific to this event.

PropertyDescription
Action Gets the action that caused the event.
NewItems Gets the list of new items involved in the change.
NewStartingIndex Gets the index at which the change occurred.
OldItems Gets the list of items affected by a System.Collections.Specialized.NotifyCollectionChangedAction.Replace, Remove, or Move action.
OldStartingIndex Gets the index at which a System.Collections.Specialized.NotifyCollectionChangedAction.Move, Remove, or Replace action occurred.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© ESRI, Inc. All Rights Reserved.