次の方法で共有


Element.SetDynamicResource(BindableProperty, String) Method

Definition

Sets the BindableProperty property of this element to be updated via the DynamicResource with the provided key.

public void SetDynamicResource (Xamarin.Forms.BindableProperty property, string key);
override this.SetDynamicResource : Xamarin.Forms.BindableProperty * string -> unit

Parameters

property
BindableProperty

The BindableProperty.

key
System.String

The key of the DynamicResource

Applies to