SettersExtensions.Add(IList<Setter>, BindableProperty, Object) 方法

定义

将具有值的资源库添加到 IList<Setter>

public static void Add (this System.Collections.Generic.IList<Xamarin.Forms.Setter> setters, Xamarin.Forms.BindableProperty property, object value);
static member Add : System.Collections.Generic.IList<Xamarin.Forms.Setter> * Xamarin.Forms.BindableProperty * obj -> unit

参数

setters
System.Collections.Generic.IList<Setter>

要添加将 property 设置为 value 的资源库的资源库列表。

property
BindableProperty

要设置的属性。

value
System.Object

要将属性集设置为的值。

适用于