Redigera

Dela via


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

The dependency property identifier of the property to set.

value
Object

The new value.

Applies to