BindableProperty Classe

Definizione

BindableProperty è un archivio di backup per le proprietà che consentono le associazioni in BindableObject.

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

Campi

UnsetValue

BindableProperty è un archivio di backup per le proprietà che consentono le associazioni in BindableObject.

Proprietà

DeclaringType

Ottiene il tipo che dichiara la BindableProperty

DefaultBindingMode

Ottiene la BindingMode predefinita.

DefaultValue

Ottiene il valore predefinito di BindableProperty.

IsReadOnly

Ottiene un valore che indica se la BindableProperty viene creata da BindablePropertyKey.

PropertyName

Ottiene il nome della proprietà.

ReturnType

Ottiene il tipo di BindableProperty.

Metodi

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

Crea una nuova istanza della classe BindableProperty.

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

Deprecato. Non usare.

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

Crea una nuova istanza della classe BindableProperty per una proprietà associata.

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

Deprecato. Non usare.

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

Crea una nuova istanza della classe BindableProperty per le proprietà di sola lettura associate.

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

Deprecato. Non usare.

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

Crea una nuova istanza della classe BindablePropertyKey.

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

Deprecato. Non usare.

Si applica a

Vedi anche