Setter Constructor (DependencyProperty^, Object^, String^)

 
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.

Initializes a new instance of the Setter class with the specified property, value, and target name.

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

public:
Setter(
	DependencyProperty^ property,
	Object^ value,
	String^ targetName
)

Parameters

property
Type: System.Windows::DependencyProperty^

The DependencyProperty to apply the Value to.

value
Type: System::Object^

The value to apply to the property.

targetName
Type: System::String^

The name of the child node this Setter is intended for.

.NET Framework
Available since 3.0
Return to top
Show: