ModelItemCollection.CollectionChanged 事件

当在派生类中重写时,将在此集合的内容更改时发生。

命名空间:  Microsoft.Windows.Design.Model
程序集:  Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)

语法

声明
Public MustOverride Event CollectionChanged As NotifyCollectionChangedEventHandler
public abstract event NotifyCollectionChangedEventHandler CollectionChanged
public:
virtual  event NotifyCollectionChangedEventHandler^ CollectionChanged {
    void add (NotifyCollectionChangedEventHandler^ value);
    void remove (NotifyCollectionChangedEventHandler^ value);
}
abstract CollectionChanged : IEvent<NotifyCollectionChangedEventHandler,
    NotifyCollectionChangedEventArgs>
JScript 不支持事件。

实现

INotifyCollectionChanged.CollectionChanged

.NET Framework 安全性

请参见

参考

ModelItemCollection 类

Microsoft.Windows.Design.Model 命名空间

其他资源

WPF 设计器扩展性体系结构