PropertyDescriptor.AddValueChanged(Object, EventHandler) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
Parameters
- component
- Object
The component to add the handler for.
- handler
- EventHandler
The delegate to add as a listener.
Exceptions
component
or handler
is null
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.