BindableProperty BindableProperty Class

Definition

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

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

Properties

DeclaringType DeclaringType

Gets the type declaring the BindableProperty

DefaultBindingMode DefaultBindingMode

Gets the default BindingMode.

DefaultValue DefaultValue

Gets the default value for the BindableProperty.

IsReadOnly IsReadOnly

Gets a value indicating if the BindableProperty is created form a BindablePropertyKey.

PropertyName PropertyName

Gets the property name.

ReturnType ReturnType

Gets the type of the BindableProperty.

Methods

Create(String, Type, Type, Object, BindingMode, BindableProperty+ValidateValueDelegate, BindableProperty+BindingPropertyChangedDelegate, BindableProperty+BindingPropertyChangingDelegate, BindableProperty+CoerceValueDelegate, BindableProperty+CreateDefaultValueDelegate) Create(String, Type, Type, Object, BindingMode, BindableProperty+ValidateValueDelegate, BindableProperty+BindingPropertyChangedDelegate, BindableProperty+BindingPropertyChangingDelegate, BindableProperty+CoerceValueDelegate, BindableProperty+CreateDefaultValueDelegate)

Creates a new instance of the BindableProperty class.

Create<TDeclarer,TPropertyType>(Expression<Func<TDeclarer,TPropertyType>>, TPropertyType, BindingMode, BindableProperty, BindableProperty, BindableProperty, BindableProperty, BindableProperty) Create<TDeclarer,TPropertyType>(Expression<Func<TDeclarer,TPropertyType>>, TPropertyType, BindingMode, BindableProperty, BindableProperty, BindableProperty, BindableProperty, BindableProperty)

Deprecated. Do not use.

CreateAttached(String, Type, Type, Object, BindingMode, BindableProperty+ValidateValueDelegate, BindableProperty+BindingPropertyChangedDelegate, BindableProperty+BindingPropertyChangingDelegate, BindableProperty+CoerceValueDelegate, BindableProperty+CreateDefaultValueDelegate) CreateAttached(String, Type, Type, Object, BindingMode, BindableProperty+ValidateValueDelegate, BindableProperty+BindingPropertyChangedDelegate, BindableProperty+BindingPropertyChangingDelegate, BindableProperty+CoerceValueDelegate, BindableProperty+CreateDefaultValueDelegate)

Creates a new instance of the BindableProperty class for an attached property.

CreateAttached<TDeclarer,TPropertyType>(Expression<Func<BindableObject,TPropertyType>>, TPropertyType, BindingMode, BindableProperty, BindableProperty, BindableProperty, BindableProperty, BindableProperty) CreateAttached<TDeclarer,TPropertyType>(Expression<Func<BindableObject,TPropertyType>>, TPropertyType, BindingMode, BindableProperty, BindableProperty, BindableProperty, BindableProperty, BindableProperty)

Deprecated. Do not use.

CreateAttachedReadOnly(String, Type, Type, Object, BindingMode, BindableProperty+ValidateValueDelegate, BindableProperty+BindingPropertyChangedDelegate, BindableProperty+BindingPropertyChangingDelegate, BindableProperty+CoerceValueDelegate, BindableProperty+CreateDefaultValueDelegate) CreateAttachedReadOnly(String, Type, Type, Object, BindingMode, BindableProperty+ValidateValueDelegate, BindableProperty+BindingPropertyChangedDelegate, BindableProperty+BindingPropertyChangingDelegate, BindableProperty+CoerceValueDelegate, BindableProperty+CreateDefaultValueDelegate)

Creates a new instance of the BindableProperty class for attached read-only properties.

CreateAttachedReadOnly<TDeclarer,TPropertyType>(Expression<Func<BindableObject,TPropertyType>>, TPropertyType, BindingMode, BindableProperty, BindableProperty, BindableProperty, BindableProperty, BindableProperty) CreateAttachedReadOnly<TDeclarer,TPropertyType>(Expression<Func<BindableObject,TPropertyType>>, TPropertyType, BindingMode, BindableProperty, BindableProperty, BindableProperty, BindableProperty, BindableProperty)

Deprecated. Do not use.

CreateReadOnly(String, Type, Type, Object, BindingMode, BindableProperty+ValidateValueDelegate, BindableProperty+BindingPropertyChangedDelegate, BindableProperty+BindingPropertyChangingDelegate, BindableProperty+CoerceValueDelegate, BindableProperty+CreateDefaultValueDelegate) CreateReadOnly(String, Type, Type, Object, BindingMode, BindableProperty+ValidateValueDelegate, BindableProperty+BindingPropertyChangedDelegate, BindableProperty+BindingPropertyChangingDelegate, BindableProperty+CoerceValueDelegate, BindableProperty+CreateDefaultValueDelegate)

Creates a new instance of the BindablePropertyKey class.

CreateReadOnly<TDeclarer,TPropertyType>(Expression<Func<TDeclarer,TPropertyType>>, TPropertyType, BindingMode, BindableProperty, BindableProperty, BindableProperty, BindableProperty, BindableProperty) CreateReadOnly<TDeclarer,TPropertyType>(Expression<Func<TDeclarer,TPropertyType>>, TPropertyType, BindingMode, BindableProperty, BindableProperty, BindableProperty, BindableProperty, BindableProperty)

Deprecated. Do not use.

Extension Methods

LoadFromXaml<TXaml>(TXaml, String) LoadFromXaml<TXaml>(TXaml, String)

Returns an initialized view by loading the specified xaml.

LoadFromXaml<TXaml>(TXaml, Type) LoadFromXaml<TXaml>(TXaml, Type)

Returns a TXaml with the properties that are defined in the application manifest for callingType.

Applies to

See Also