Element.SetDynamicResource(BindableProperty, String) メソッド

定義

指定されたキーを BindableProperty 使用して DynamicResource を使用して更新するこの要素のプロパティを設定します。

public:
 void SetDynamicResource(Microsoft::Maui::Controls::BindableProperty ^ property, System::String ^ key);
public void SetDynamicResource (Microsoft.Maui.Controls.BindableProperty property, string key);
override this.SetDynamicResource : Microsoft.Maui.Controls.BindableProperty * string -> unit
Public Sub SetDynamicResource (property As BindableProperty, key As String)

パラメーター

property
BindableProperty

更新するプロパティ。

key
String

要求されたリソースのキー。

適用対象