PropertyDescriptor.AddValueChanged(Object, EventHandler) PropertyDescriptor.AddValueChanged(Object, EventHandler) PropertyDescriptor.AddValueChanged(Object, EventHandler) PropertyDescriptor.AddValueChanged(Object, EventHandler) Method

Definición

Habilita la notificación a otros objetos cuando cambia esta propiedad.Enables other objects to be notified when this property changes.

public:
 virtual void AddValueChanged(System::Object ^ component, EventHandler ^ handler);
public virtual void AddValueChanged (object component, EventHandler handler);
abstract member AddValueChanged : obj * EventHandler -> unit
override this.AddValueChanged : obj * EventHandler -> unit
Public Overridable Sub AddValueChanged (component As Object, handler As EventHandler)

Parámetros

component
Object Object Object Object

Componente para el cual se va a agregar el controlador.The component to add the handler for.

handler
EventHandler EventHandler EventHandler EventHandler

Delegado que se va a agregar como agente de escucha.The delegate to add as a listener.

Excepciones

component o handler es null.component or handler is null.

Se aplica a