SettersExtensions.AddDynamicResource Methode

Definition

Fügt der Auflistung einen Setter mit der angegebenen Eigenschaft und dem dynamischen Ressourcenschlüssel hinzu.

public:
[System::Runtime::CompilerServices::Extension]
 static void AddDynamicResource(System::Collections::Generic::IList<Microsoft::Maui::Controls::Setter ^> ^ setters, Microsoft::Maui::Controls::BindableProperty ^ property, System::String ^ key);
public static void AddDynamicResource(this System.Collections.Generic.IList<Microsoft.Maui.Controls.Setter> setters, Microsoft.Maui.Controls.BindableProperty property, string key);
static member AddDynamicResource : System.Collections.Generic.IList<Microsoft.Maui.Controls.Setter> * Microsoft.Maui.Controls.BindableProperty * string -> unit
<Extension()>
Public Sub AddDynamicResource (setters As IList(Of Setter), property As BindableProperty, key As String)

Parameter

setters
IList<Setter>

Die Setterauflistung.

property
BindableProperty

Die bindungsfähige Eigenschaft, die festgelegt werden soll.

key
String

Der dynamische Ressourcenschlüssel.

Gilt für: