BindableProperty Classe

Definição

Uma BindableProperty é um repositório de backup para as propriedades que permitem associações em BindableObject.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
Herança
BindableProperty
Atributos

Campos

UnsetValue

Propriedades

DeclaringType

Obtém o tipo declarando a BindablePropertyGets the type declaring the BindableProperty

DefaultBindingMode

Obtém o BindingMode padrão.Gets the default BindingMode.

DefaultValue

Obtém o valor padrão para BindableProperty.Gets the default value for the BindableProperty.

IsReadOnly

Obtém um valor que indica se a BindableProperty é criada de uma BindablePropertyKey.Gets a value indicating if the BindableProperty is created form a BindablePropertyKey.

PropertyName

Obtém o nome da propriedade.Gets the property name.

ReturnType

Obtém o tipo da BindableProperty.Gets the type of the BindableProperty.

Métodos

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

Cria uma nova instância da classe BindableProperty.Creates a new instance of the BindableProperty class.

Create<TDeclarer,TPropertyType>(Expression<Func<TDeclarer,TPropertyType>>, TPropertyType, BindingMode, BindableProperty.ValidateValueDelegate, BindableProperty.BindingPropertyChangedDelegate, BindableProperty.BindingPropertyChangingDelegate, BindableProperty.CoerceValueDelegate, BindableProperty.CreateDefaultValueDelegate)
Obsoleto.

Preterido.Deprecated. Não use.Do not use.

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

Cria uma nova instância da classe BindableProperty para uma propriedade anexada.Creates a new instance of the BindableProperty class for an attached property.

CreateAttached<TDeclarer,TPropertyType>(Expression<Func<BindableObject,TPropertyType>>, TPropertyType, BindingMode, BindableProperty.ValidateValueDelegate, BindableProperty.BindingPropertyChangedDelegate, BindableProperty.BindingPropertyChangingDelegate, BindableProperty.CoerceValueDelegate, BindableProperty.CreateDefaultValueDelegate)
Obsoleto.

Preterido.Deprecated. Não use.Do not use.

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

Cria uma nova instância da classe BindableProperty para propriedades anexadas somente leitura.Creates a new instance of the BindableProperty class for attached read-only properties.

CreateAttachedReadOnly<TDeclarer,TPropertyType>(Expression<Func<BindableObject,TPropertyType>>, TPropertyType, BindingMode, BindableProperty.ValidateValueDelegate, BindableProperty.BindingPropertyChangedDelegate, BindableProperty.BindingPropertyChangingDelegate, BindableProperty.CoerceValueDelegate, BindableProperty.CreateDefaultValueDelegate)
Obsoleto.

Preterido.Deprecated. Não use.Do not use.

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

Cria uma nova instância da classe BindablePropertyKey.Creates a new instance of the BindablePropertyKey class.

CreateReadOnly<TDeclarer,TPropertyType>(Expression<Func<TDeclarer,TPropertyType>>, TPropertyType, BindingMode, BindableProperty.ValidateValueDelegate, BindableProperty.BindingPropertyChangedDelegate, BindableProperty.BindingPropertyChangingDelegate, BindableProperty.CoerceValueDelegate, BindableProperty.CreateDefaultValueDelegate)
Obsoleto.

Preterido.Deprecated. Não use.Do not use.

Aplica-se a

Veja também