GridColumnStylesCollection.OnCollectionChanged(CollectionChangeEventArgs) GridColumnStylesCollection.OnCollectionChanged(CollectionChangeEventArgs) GridColumnStylesCollection.OnCollectionChanged(CollectionChangeEventArgs) GridColumnStylesCollection.OnCollectionChanged(CollectionChangeEventArgs) Method

定义

引发 CollectionChanged 事件。Raises the CollectionChanged event.

protected:
 void OnCollectionChanged(System::ComponentModel::CollectionChangeEventArgs ^ ccevent);
protected void OnCollectionChanged (System.ComponentModel.CollectionChangeEventArgs ccevent);
member this.OnCollectionChanged : System.ComponentModel.CollectionChangeEventArgs -> unit
Protected Sub OnCollectionChanged (ccevent As CollectionChangeEventArgs)

参数

注解

引发事件时,将通过委托调用事件处理程序。Raising an event invokes the event handler through a delegate. 有关详细信息, 请参阅处理和引发事件For more information, see Handling and Raising Events.

继承者说明

当在OnCollectionChanged(CollectionChangeEventArgs)派生类中重写时,请确保调用基类的OnCollectionChanged(CollectionChangeEventArgs)方法。When overriding OnCollectionChanged(CollectionChangeEventArgs) in a derived class, be sure to call the base class's OnCollectionChanged(CollectionChangeEventArgs) method.

适用于