FrameworkElementFactory::SetValue Method (DependencyProperty^, Object^)

 

Sets the value of a dependency property.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
void SetValue(
	DependencyProperty^ dp,
	Object^ value
)

Parameters

dp
Type: System.Windows::DependencyProperty^

The dependency property identifier of the property to set.

value
Type: System::Object^

The new value.

.NET Framework
Available since 3.0
Return to top
Show: