Breyta

Deila með


PropertyDescriptor.OnValueChanged(Object, EventArgs) Method

Definition

Raises the ValueChanged event that you implemented.

protected:
 virtual void OnValueChanged(System::Object ^ component, EventArgs ^ e);
protected virtual void OnValueChanged (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)

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