Binding Class

Definition

A single 1:1 immutable data binding.

public sealed class Binding : Xamarin.Forms.BindingBase
type Binding = class
    inherit BindingBase
Inheritance

Remarks

This class is immutable.

Constructors

Binding()

Constructs and initializes a new instance of the Binding class.

Binding(String, BindingMode, IValueConverter, Object, String, Object)

Constructs and initializes a new instance of the Binding class.

Fields

DoNothing

Properties

Converter

Gets or sets the converter to be used for this binding ?

ConverterParameter

Gets or sets the parameter passed as argument to the converter.

FallbackValue

Gets or sets the value to use instead of the default value for the property, if no specified value exists.

(Inherited from BindingBase)
Mode

Gets or sets the mode for this binding.

(Inherited from BindingBase)
Path

Gets or sets the path of the property

Source

Gets or sets the source of the binding.

StringFormat

Gets or sets the string format for this binding.

(Inherited from BindingBase)
TargetNullValue

Gets or sets the value to supply for a bound property when the target of the binding is null.

(Inherited from BindingBase)
UpdateSourceEventName

For internal use by the Xamarin.Forms platform.

Methods

Create<TSource>(Expression<Func<TSource,Object>>, BindingMode, IValueConverter, Object, String)
Obsolete.

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.

ThrowIfApplied()

Throws an InvalidOperationException if the binding has been applied.

(Inherited from BindingBase)

Applies to