Поделиться через


DataTemplate.SetBinding(BindableProperty, BindingBase) Метод

Определение

Задает привязку для property.

public void SetBinding (Xamarin.Forms.BindableProperty property, Xamarin.Forms.BindingBase binding);
member this.SetBinding : Xamarin.Forms.BindableProperty * Xamarin.Forms.BindingBase -> unit

Параметры

property
BindableProperty

Свойство, к которому требуется выполнить привязку.

binding
BindingBase

Используемая привязка.

Применяется к