CollectionView.OnCollectionChanged CollectionView.OnCollectionChanged CollectionView.OnCollectionChanged CollectionView.OnCollectionChanged Method

Definition

Löst das CollectionChanged-Ereignis aus.Raises the CollectionChanged event.

Überlädt

OnCollectionChanged(NotifyCollectionChangedEventArgs) OnCollectionChanged(NotifyCollectionChangedEventArgs) OnCollectionChanged(NotifyCollectionChangedEventArgs) OnCollectionChanged(NotifyCollectionChangedEventArgs)

Löst das CollectionChanged-Ereignis aus.Raises the CollectionChanged event.

OnCollectionChanged(Object, NotifyCollectionChangedEventArgs) OnCollectionChanged(Object, NotifyCollectionChangedEventArgs) OnCollectionChanged(Object, NotifyCollectionChangedEventArgs) OnCollectionChanged(Object, NotifyCollectionChangedEventArgs)

Löst das CollectionChanged-Ereignis aus.Raises the CollectionChanged event.

OnCollectionChanged(NotifyCollectionChangedEventArgs) OnCollectionChanged(NotifyCollectionChangedEventArgs) OnCollectionChanged(NotifyCollectionChangedEventArgs) OnCollectionChanged(NotifyCollectionChangedEventArgs)

Löst das CollectionChanged-Ereignis aus.Raises the CollectionChanged event.

protected:
 virtual void OnCollectionChanged(System::Collections::Specialized::NotifyCollectionChangedEventArgs ^ args);
protected virtual void OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedEventArgs args);
abstract member OnCollectionChanged : System.Collections.Specialized.NotifyCollectionChangedEventArgs -> unit
override this.OnCollectionChanged : System.Collections.Specialized.NotifyCollectionChangedEventArgs -> unit
Protected Overridable Sub OnCollectionChanged (args As NotifyCollectionChangedEventArgs)

Parameter

Hinweise

Nehmen Sie vor dem Aufrufen dieser Methode zum Lösen des CollectionChanged Ereignisses alle Sortier-, Filter-oder Gruppierungs Kriterien in Erwägung.Take any sorting, filtering, or grouping criteria into consideration before calling this method to raise the CollectionChanged event.

OnCollectionChanged(Object, NotifyCollectionChangedEventArgs) OnCollectionChanged(Object, NotifyCollectionChangedEventArgs) OnCollectionChanged(Object, NotifyCollectionChangedEventArgs) OnCollectionChanged(Object, NotifyCollectionChangedEventArgs)

Löst das CollectionChanged-Ereignis aus.Raises the CollectionChanged event.

protected:
 void OnCollectionChanged(System::Object ^ sender, System::Collections::Specialized::NotifyCollectionChangedEventArgs ^ args);
protected void OnCollectionChanged (object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs args);
member this.OnCollectionChanged : obj * System.Collections.Specialized.NotifyCollectionChangedEventArgs -> unit
Protected Sub OnCollectionChanged (sender As Object, args As NotifyCollectionChangedEventArgs)

Parameter

sender
Object Object Object Object

Der Absender des Ereignisses.The sender of the event.

Hinweise

Diese Methode ruft ProcessCollectionChanged auf, wenn Sie sich auf UIUI dem richtigen Thread Verteiler befindet und nie von einem anderen Thread aktualisiert wurde, oder sendet die Änderung an den Verteiler, um Sie im richtigen Thread zu verarbeiten.This method calls ProcessCollectionChanged if it is on the correct UIUI thread dispatcher and has never been updated from a different thread, or posts the change to the dispatcher to process it on the correct thread.

Gilt für: