Xamarin.Forms Guides | Samples

Xamarin.Forms.DataTemplate.SetBinding Method

Sets the binding for property.

Syntax

public Void SetBinding (BindableProperty property, BindingBase binding)

Parameters

property
The property to which to bind.
binding
The binding to use.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0, 1.3.3.0, 1.4.0.0, 1.5.0.0, 2.0.0.0