BindableProperty BindableProperty Class

Определение

BindableProperty является резервным хранилищем для свойств, разрешающих привязку к 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
Наследование
BindablePropertyBindableProperty
Атрибуты

Свойства

DeclaringType DeclaringType

Возвращает тип, объявляющий BindablePropertyGets the type declaring the BindableProperty

DefaultBindingMode DefaultBindingMode

Возвращает BindingMode по умолчанию.Gets the default BindingMode.

DefaultValue DefaultValue

Возвращает значение по умолчанию для BindableProperty.Gets the default value for the BindableProperty.

IsReadOnly IsReadOnly

Возвращает значение, указывающее, создается ли BindableProperty из BindablePropertyKey.Gets a value indicating if the BindableProperty is created form a BindablePropertyKey.

PropertyName PropertyName

Возвращает имя свойства.Gets the property name.

ReturnType ReturnType

Возвращает тип BindableProperty.Gets the type of the BindableProperty.

Методы

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)

Создает новый экземпляр класса BindableProperty.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)

Создает новый экземпляр класса BindableProperty для присоединенного свойства.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)

Создает новый экземпляр класса BindableProperty для присоединенных свойств только для чтения.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)

Создает новый экземпляр класса BindablePropertyKey.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.

Применяется к

Дополнительно