CollectionView.OnCurrentChanging Method

Definition

Inicia el evento CurrentChanging.Raises the CurrentChanging event.

Overloads

OnCurrentChanging()

Provoca un evento CurrentChanging que no se puede cancelar.Raises a CurrentChanging event that is not cancelable.

OnCurrentChanging(CurrentChangingEventArgs)

Provoca el evento CurrentChanging con los argumentos especificados.Raises the CurrentChanging event with the specified arguments.

OnCurrentChanging()

Provoca un evento CurrentChanging que no se puede cancelar.Raises a CurrentChanging event that is not cancelable.

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

Remarks

Este método establece CurrentPosition en-1.This method sets CurrentPosition to -1. Este método lo llaman los cambios de la colección que afectan al CurrentItem.This method is called by collection changes that affect the CurrentItem.

OnCurrentChanging(CurrentChangingEventArgs)

Provoca el evento CurrentChanging con los argumentos especificados.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)

Parameters

args
CurrentChangingEventArgs

Información sobre el evento.Information about the event.

Applies to