Edit

Share via


DependencyPropertyDescriptor.SetValue(Object, Object) Method

Definition

Sets the value of the component to a different value.

public:
 override void SetValue(System::Object ^ component, System::Object ^ value);
public override void SetValue (object component, object value);
override this.SetValue : obj * obj -> unit
Public Overrides Sub SetValue (component As Object, value As Object)

Parameters

component
Object

The component with the property value that is to be set.

value
Object

The new value.

Remarks

This method relies on the underlying PropertyDescriptor.

Applies to