CollectionView.OnCurrentChanging Metoda

Definice

Vyvolá CurrentChanging událost.Raises the CurrentChanging event.

Přetížení

OnCurrentChanging()

Vyvolá CurrentChanging událost, která nemůže být zrušena.Raises a CurrentChanging event that is not cancelable.

OnCurrentChanging(CurrentChangingEventArgs)

Vyvolá CurrentChanging událost se zadanými argumenty.Raises the CurrentChanging event with the specified arguments.

OnCurrentChanging()

Vyvolá CurrentChanging událost, která nemůže být zrušena.Raises a CurrentChanging event that is not cancelable.

protected:
 void OnCurrentChanging();
protected void OnCurrentChanging ();
member this.OnCurrentChanging : unit -> unit
Protected Sub OnCurrentChanging ()

Poznámky

Tato metoda nastavuje CurrentPosition na-1.This method sets CurrentPosition to -1. Tato metoda je volána změnami kolekce, které mají vliv na CurrentItem .This method is called by collection changes that affect the CurrentItem.

Platí pro

OnCurrentChanging(CurrentChangingEventArgs)

Vyvolá CurrentChanging událost se zadanými argumenty.Raises the CurrentChanging event with the specified arguments.

protected:
 virtual void OnCurrentChanging(System::ComponentModel::CurrentChangingEventArgs ^ args);
protected virtual void OnCurrentChanging (System.ComponentModel.CurrentChangingEventArgs args);
abstract member OnCurrentChanging : System.ComponentModel.CurrentChangingEventArgs -> unit
override this.OnCurrentChanging : System.ComponentModel.CurrentChangingEventArgs -> unit
Protected Overridable Sub OnCurrentChanging (args As CurrentChangingEventArgs)

Parametry

args
CurrentChangingEventArgs

Informace o událostiInformation about the event.

Platí pro