PropertyChangedEventHandler PropertyChangedEventHandler PropertyChangedEventHandler PropertyChangedEventHandler Delegate

Definition

Representa el método que controlará al evento PropertyChanged que se provoque cuando cambie una propiedad en un componente. Represents the method that will handle the PropertyChanged event raised when a property is changed on a component.

public delegate void PropertyChangedEventHandler(System::Object ^ sender, PropertyChangedEventArgs ^ e);
public delegate void PropertyChangedEventHandler(object sender, PropertyChangedEventArgs e);
type PropertyChangedEventHandler = delegate of obj * PropertyChangedEventArgs -> unit
Public Delegate Sub PropertyChangedEventHandler(sender As Object, e As PropertyChangedEventArgs)

Parámetros

sender
Object Object Object Object

Origen del evento. The source of the event.

Inheritance
PropertyChangedEventHandlerPropertyChangedEventHandlerPropertyChangedEventHandlerPropertyChangedEventHandler

Remarks

Cuando se crea un delegado PropertyChangedEventHandler, se identifica el método que controlará el evento.When you create a PropertyChangedEventHandler delegate, you identify the method that will handle the event. Para asociar el evento al controlador, se debe agregar una instancia del delegado al evento.To associate the event with your event handler, add an instance of the delegate to the event. Se llama al método de controlador de eventos cada vez que se produce el evento, a menos que quite al delegado.The event-handler method is called whenever the event occurs, unless you remove the delegate. Para obtener más información sobre los delegados de controlador de eventos, consulte controlar y provocar eventos.For more information about event-handler delegates, see Handling and Raising Events.

Applies to

See Also