PropertyDescriptor::AddValueChanged Method (Object^, EventHandler^)

 

Enables other objects to be notified when this property changes.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public:
virtual void AddValueChanged(
	Object^ component,
	EventHandler^ handler
)

Parameters

component
Type: System::Object^

The component to add the handler for.

handler
Type: System::EventHandler^

The delegate to add as a listener.

Exception Condition
ArgumentNullException

component or handler is null.

.NET Framework
Available since 1.1
Return to top
Show: