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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.