共用方式為


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

定義

將具有值的 Setter 新增至 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>

Setter 清單,會把將 property 設為 value 之 setter 新增至其中的 setter 清單。

property
BindableProperty

要設定的屬性。

value
System.Object

要用來設定屬性的值。

適用於