Element.SetDynamicResource(BindableProperty, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the BindableProperty property of this element to be updated via the DynamicResource with the provided key.
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)
Parameters
- property
- BindableProperty
The property to be updated.
- key
- String
The key for the requested resource.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.