語言

FrameworkElementFactory.SetResourceReference 方法

定義

在子屬性上建立動態資源參考。

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)

參數

dp
DependencyProperty

資源所綁定的性質。

name
Object

資源名稱。

適用於