DependencyPropertyDescriptor::SetValue Method (Object^, Object^)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Sets the value of the component to a different value.

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

public:
virtual void SetValue(
	Object^ component,
	Object^ value
) override

Parameters

component
Type: System::Object^

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

value
Type: System::Object^

The new value.

This method relies on the underlying PropertyDescriptor.

.NET Framework
Available since 3.0
Return to top
Show: