FrameworkElementFactory.SetValue(DependencyProperty, Object) FrameworkElementFactory.SetValue(DependencyProperty, Object) FrameworkElementFactory.SetValue(DependencyProperty, Object) FrameworkElementFactory.SetValue(DependencyProperty, Object) Method

Definition

Sets the value of a dependency property.

public:
 void SetValue(System::Windows::DependencyProperty ^ dp, System::Object ^ value);
public void SetValue (System.Windows.DependencyProperty dp, object value);
member this.SetValue : System.Windows.DependencyProperty * obj -> unit
Public Sub SetValue (dp As DependencyProperty, value As Object)

Parameters

dp
DependencyProperty DependencyProperty DependencyProperty DependencyProperty

The dependency property identifier of the property to set.

value
Object Object Object Object

The new value.

Applies to