Element.SetDynamicResource(BindableProperty, String) Méthode

Définition

Définit la BindableProperty propriété de cet élément à mettre à jour via DynamicResource avec la clé fournie.

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)

Paramètres

property
BindableProperty

Propriété à mettre à jour.

key
String

Clé pour la ressource demandée.

S’applique à