Xamarin.Forms Guides | Samples

Xamarin.Forms.Binding Class

A single 1:1 immutable data binding.

See Also: Binding

Syntax

public sealed class Binding : BindingBase

Remarks

This class is immutable.

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.4.0.0, 1.5.0.0, 2.0.0.0

The members of Xamarin.Forms.Binding are listed below.

See Also: BindingBase

Public Constructors

Constructs and initializes a new instance of the Binding class.
Constructs and initializes a new instance of the Binding class.
Constructs and initializes a new instance of the Binding class.

Public Properties

ConverterIValueConverter. Gets or sets the converter to be used for this binding ?
ConverterParameterObject. Gets or sets the parameter passed as argument to the converter.
PathString. Gets or sets the path of the property
SourceObject. Gets or sets the source of the binding.

Public Methods

static
Create<TSource>(System.Linq.Expressions.Expression<Func<TSource, object>>, BindingMode, IValueConverter, Object, String) : Binding
This is a convenient factory method to create a binding from an expression, instead of a property name. This api is more resilient to refactoring.