Share via


DomainDataSourceView.INotifyCollectionChanged.CollectionChanged Event

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

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

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.DomainServices (in System.Windows.Controls.DomainServices.dll)

Syntax

'Declaration
Private Event CollectionChanged As NotifyCollectionChangedEventHandler
    Implements INotifyCollectionChanged.CollectionChanged
'Usage
Dim instance As DomainDataSourceView
Dim handler As NotifyCollectionChangedEventHandler

AddHandler CType(instance, INotifyCollectionChanged).CollectionChanged, handler
event NotifyCollectionChangedEventHandler INotifyCollectionChanged.CollectionChanged
private:
virtual  event NotifyCollectionChangedEventHandler^ CollectionChanged {
    void add (NotifyCollectionChangedEventHandler^ value);
    void remove (NotifyCollectionChangedEventHandler^ value);
}
private abstract CollectionChanged : IEvent<NotifyCollectionChangedEventHandler,
    NotifyCollectionChangedEventArgs>
private override CollectionChanged : IEvent<NotifyCollectionChangedEventHandler,
    NotifyCollectionChangedEventArgs>
JScript supports the use of events, but not the declaration of new ones.

Implements

INotifyCollectionChanged.CollectionChanged

Remarks

This member is an explicit interface member implementation. It can be used only when the DomainDataSourceView instance is cast to an INotifyCollectionChanged interface.

See Also

Reference

DomainDataSourceView Class

System.Windows.Controls Namespace