DataTemplate.SetValue(BindableProperty, Object) 方法

定义

设置 property 的值。

public void SetValue(Xamarin.Forms.BindableProperty property, object value);
member this.SetValue : Xamarin.Forms.BindableProperty * obj -> unit

参数

property
BindableProperty

要设置的属性。

value
System.Object

新值。

适用于