Edit

Share via


FrameworkElementFactory.SetResourceReference Method

Definition

Set up a dynamic resource reference on a child property.

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

Parameters

dp
DependencyProperty

The property to which the resource is bound.

name
Object

The name of the resource.

Applies to