BindableProperty Classe

Definizione

BindableProperty è un archivio di backup per le proprietà che consentono le associazioni in 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
Ereditarietà
BindableProperty
Attributi

Proprietà

DeclaringType

Ottiene il tipo che dichiara la BindablePropertyGets the type declaring the BindableProperty

DefaultBindingMode

Ottiene la BindingMode predefinita.Gets the default BindingMode.

DefaultValue

Ottiene il valore predefinito di BindableProperty.Gets the default value for the BindableProperty.

IsReadOnly

Ottiene un valore che indica se la BindableProperty viene creata da BindablePropertyKey.Gets a value indicating if the BindableProperty is created form a BindablePropertyKey.

PropertyName

Ottiene il nome della proprietà.Gets the property name.

ReturnType

Ottiene il tipo di BindableProperty.Gets the type of the 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.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)

Operazione deprecata.Deprecated. Non usare.Do not use.

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.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)

Operazione deprecata.Deprecated. Non usare.Do not use.

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.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)

Operazione deprecata.Deprecated. Non usare.Do not use.

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

Crea una nuova istanza della 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)

Operazione deprecata.Deprecated. Non usare.Do not use.

Si applica a

Vedi anche