共用方式為


GridColumnStylesCollection.OnCollectionChanged 方法

定義

引發 CollectionChanged 事件。

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

參數

ccevente
CollectionChangeEventArgs

包含事件資料的 CollectionChangeEventArgs

備註

引發事件會透過委派叫用此事件處理常式。 如需詳細資訊,請參閱 處理和引發事件

給繼承者的注意事項

OnCollectionChanged(CollectionChangeEventArgs) 衍生類別中覆寫時,請務必呼叫基類的 OnCollectionChanged(CollectionChangeEventArgs) 方法。

適用於