PropertyDescriptor.OnValueChanged(Object, EventArgs) PropertyDescriptor.OnValueChanged(Object, EventArgs) PropertyDescriptor.OnValueChanged(Object, EventArgs) PropertyDescriptor.OnValueChanged(Object, EventArgs) Method

Definición

Provoca el evento ValueChanged que se ha implementado.Raises the ValueChanged event that you implemented.

protected:
 virtual void OnValueChanged(System::Object ^ component, EventArgs ^ e);
protected virtual void OnValueChanged (object component, EventArgs e);
abstract member OnValueChanged : obj * EventArgs -> unit
override this.OnValueChanged : obj * EventArgs -> unit
Protected Overridable Sub OnValueChanged (component As Object, e As EventArgs)

Parámetros

component
Object Object Object Object

Objeto que genera el evento.The object that raises the event.

e
EventArgs EventArgs EventArgs EventArgs

Objeto EventArgs que contiene los datos del evento.An EventArgs that contains the event data.

Comentarios

La implementación del descriptor de propiedad debe llamar a este método cuando el valor de propiedad ha cambiado.This method should be called by your property descriptor implementation when the property value has changed.

Se aplica a