Edit

Share via


PropertyDescriptor.OnValueChanged(Object, EventArgs) Method

Definition

Raises the ValueChanged event that you implemented.

protected virtual void OnValueChanged(object? component, EventArgs e);
protected virtual void OnValueChanged(object component, EventArgs e);

Parameters

component
Object

The object that raises the event.

e
EventArgs

An EventArgs that contains the event data.

Remarks

This method should be called by your property descriptor implementation when the property value has changed.

Applies to