FrameworkElementFactory.SetValue Method (DependencyProperty, 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 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: