Xamarin.Forms Guides | Samples

Xamarin.Forms.BindableProperty Class

A BindableProperty is a backing store for properties allowing bindings on BindableObject.

See Also: BindableProperty

Syntax

[System.Diagnostics.DebuggerDisplay("{PropertyName}")]
[Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.BindablePropertyConverter))]
public sealed class BindableProperty

Remarks

Related content

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.2.2.0, 1.3.0.0, 1.4.0.0, 1.5.0.0, 2.0.0.0

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

See Also: Object

Public Properties

[read-only]
DeclaringTypeType. Gets the type declaring the BindableProperty
[read-only]
DefaultBindingModeBindingMode. Gets the default BindingMode.
[read-only]
DefaultValueObject. Gets the default value for the BindableProperty.
[read-only]
DefaultValueCreatorFunc<object>. Gets the Func used as default value creator.
[read-only]
IsReadOnlyBoolean. Gets a value indicating if the BindableProperty is created form a BindablePropertyKey.
[read-only]
PropertyNameString. Gets the property name.
[read-only]
ReturnTypeType. Gets the type of the BindableProperty.

Public Methods

static
Create(String, Type, Type, Object, BindingMode, BindableProperty+ValidateValueDelegate, BindableProperty+BindingPropertyChangedDelegate, BindableProperty+BindingPropertyChangingDelegate, BindableProperty+CoerceValueDelegate, BindableProperty+CreateDefaultValueDelegate) : BindableProperty
Creates a new instance of the BindableProperty class.
static
Create(String, Type, Type, Object, BindingMode, BindableProperty+ValidateValueDelegate, BindableProperty+BindingPropertyChangedDelegate, BindableProperty+BindingPropertyChangingDelegate, BindableProperty+CoerceValueDelegate) : BindableProperty
Creates a new instance of the BindableProperty class.
static
Create<TDeclarer,TPropertyType>(System.Linq.Expressions.Expression<Func<TDeclarer, TPropertyType>>, TPropertyType, BindingMode, BindableProperty.ValidateValueDelegate<TPropertyType>, BindableProperty.BindingPropertyChangedDelegate<TPropertyType>, BindableProperty.BindingPropertyChangingDelegate<TPropertyType>, BindableProperty.CoerceValueDelegate<TPropertyType>) : BindableProperty
Deprecated. Do not use.
static
Create<TDeclarer,TPropertyType>(System.Linq.Expressions.Expression<Func<TDeclarer, TPropertyType>>, TPropertyType, BindingMode, BindableProperty.ValidateValueDelegate<TPropertyType>, BindableProperty.BindingPropertyChangedDelegate<TPropertyType>, BindableProperty.BindingPropertyChangingDelegate<TPropertyType>, BindableProperty.CoerceValueDelegate<TPropertyType>, BindableProperty.CreateDefaultValueDelegate<TDeclarer, TPropertyType>) : BindableProperty
Deprecated. Do not use.
static
CreateAttached(String, Type, Type, Object, BindingMode, BindableProperty+ValidateValueDelegate, BindableProperty+BindingPropertyChangedDelegate, BindableProperty+BindingPropertyChangingDelegate, BindableProperty+CoerceValueDelegate, BindableProperty+CreateDefaultValueDelegate) : BindableProperty
Creates a new instance of the BindableProperty class for an attached property.
static
CreateAttached(String, Type, Type, Object, BindingMode, BindableProperty+ValidateValueDelegate, BindableProperty+BindingPropertyChangedDelegate, BindableProperty+BindingPropertyChangingDelegate, BindableProperty+CoerceValueDelegate) : BindableProperty
Creates a new instance of the BindableProperty class for an attached property.
static
CreateAttached<TDeclarer,TPropertyType>(System.Linq.Expressions.Expression<Func<BindableObject, TPropertyType>>, TPropertyType, BindingMode, BindableProperty.ValidateValueDelegate<TPropertyType>, BindableProperty.BindingPropertyChangedDelegate<TPropertyType>, BindableProperty.BindingPropertyChangingDelegate<TPropertyType>, BindableProperty.CoerceValueDelegate<TPropertyType>) : BindableProperty
Deprecated. Do not use.
static
CreateAttached<TDeclarer,TPropertyType>(System.Linq.Expressions.Expression<Func<BindableObject, TPropertyType>>, TPropertyType, BindingMode, BindableProperty.ValidateValueDelegate<TPropertyType>, BindableProperty.BindingPropertyChangedDelegate<TPropertyType>, BindableProperty.BindingPropertyChangingDelegate<TPropertyType>, BindableProperty.CoerceValueDelegate<TPropertyType>, BindableProperty.CreateDefaultValueDelegate<BindableObject, TPropertyType>) : BindableProperty
Deprecated. Do not use.
static
CreateAttachedReadOnly(String, Type, Type, Object, BindingMode, BindableProperty+ValidateValueDelegate, BindableProperty+BindingPropertyChangedDelegate, BindableProperty+BindingPropertyChangingDelegate, BindableProperty+CoerceValueDelegate, BindableProperty+CreateDefaultValueDelegate) : BindablePropertyKey
Creates a new instance of the BindableProperty class for attached read-only properties.
static
CreateAttachedReadOnly(String, Type, Type, Object, BindingMode, BindableProperty+ValidateValueDelegate, BindableProperty+BindingPropertyChangedDelegate, BindableProperty+BindingPropertyChangingDelegate, BindableProperty+CoerceValueDelegate) : BindablePropertyKey
Creates a new instance of the BindableProperty class for attached read-only properties.
static
CreateAttachedReadOnly<TDeclarer,TPropertyType>(System.Linq.Expressions.Expression<Func<BindableObject, TPropertyType>>, TPropertyType, BindingMode, BindableProperty.ValidateValueDelegate<TPropertyType>, BindableProperty.BindingPropertyChangedDelegate<TPropertyType>, BindableProperty.BindingPropertyChangingDelegate<TPropertyType>, BindableProperty.CoerceValueDelegate<TPropertyType>) : BindablePropertyKey
Deprecated. Do not use.
static
CreateAttachedReadOnly<TDeclarer,TPropertyType>(System.Linq.Expressions.Expression<Func<BindableObject, TPropertyType>>, TPropertyType, BindingMode, BindableProperty.ValidateValueDelegate<TPropertyType>, BindableProperty.BindingPropertyChangedDelegate<TPropertyType>, BindableProperty.BindingPropertyChangingDelegate<TPropertyType>, BindableProperty.CoerceValueDelegate<TPropertyType>, BindableProperty.CreateDefaultValueDelegate<BindableObject, TPropertyType>) : BindablePropertyKey
Deprecated. Do not use.
static
CreateReadOnly(String, Type, Type, Object, BindingMode, BindableProperty+ValidateValueDelegate, BindableProperty+BindingPropertyChangedDelegate, BindableProperty+BindingPropertyChangingDelegate, BindableProperty+CoerceValueDelegate, BindableProperty+CreateDefaultValueDelegate) : BindablePropertyKey
Creates a new instance of the BindablePropertyKey class.
static
CreateReadOnly(String, Type, Type, Object, BindingMode, BindableProperty+ValidateValueDelegate, BindableProperty+BindingPropertyChangedDelegate, BindableProperty+BindingPropertyChangingDelegate, BindableProperty+CoerceValueDelegate) : BindablePropertyKey
Creates a new instance of the BindablePropertyKey class.
static
CreateReadOnly<TDeclarer,TPropertyType>(System.Linq.Expressions.Expression<Func<TDeclarer, TPropertyType>>, TPropertyType, BindingMode, BindableProperty.ValidateValueDelegate<TPropertyType>, BindableProperty.BindingPropertyChangedDelegate<TPropertyType>, BindableProperty.BindingPropertyChangingDelegate<TPropertyType>, BindableProperty.CoerceValueDelegate<TPropertyType>) : BindablePropertyKey
Deprecated. Do not use.
static
CreateReadOnly<TDeclarer,TPropertyType>(System.Linq.Expressions.Expression<Func<TDeclarer, TPropertyType>>, TPropertyType, BindingMode, BindableProperty.ValidateValueDelegate<TPropertyType>, BindableProperty.BindingPropertyChangedDelegate<TPropertyType>, BindableProperty.BindingPropertyChangingDelegate<TPropertyType>, BindableProperty.CoerceValueDelegate<TPropertyType>, BindableProperty.CreateDefaultValueDelegate<TDeclarer, TPropertyType>) : BindablePropertyKey
Deprecated. Do not use.