Setter Constructor (DependencyProperty, Object)
Collapse the table of content
Expand the table of content

Setter Constructor (DependencyProperty, Object)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

public Setter(
	DependencyProperty property,
	Object value
)

Parameters

property
Type: System.Windows.DependencyProperty
The dependency property to apply the value to.
value
Type: System.Object
The value to apply to the property.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft