Compartir a través de


BindableProperty Clase

Definición

BindableProperty es un almacén de respaldo para las propiedades que permiten enlaces en BindableObject.

public ref class BindableProperty sealed
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.BindablePropertyConverter))]
public sealed class BindableProperty
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.BindablePropertyConverter))>]
type BindableProperty = class
Public NotInheritable Class BindableProperty
Herencia
BindableProperty
Atributos

Campos

Nombre Description
UnsetValue

Objeto sentinel usado para indicar que no se ha establecido un valor BindableProperty.

Propiedades

Nombre Description
DeclaringType

Obtiene el tipo que declara BindableProperty.

DefaultBindingMode

Obtiene el valor predeterminado BindingMode.

DefaultValue

Obtiene el valor predeterminado de BindableProperty.

IsReadOnly

Obtiene un valor que indica si bindableProperty se crea con el formato BindablePropertyKey.

PropertyName

Obtiene el nombre de la propiedad.

ReturnType

Obtiene el tipo de BindableProperty.

Métodos

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

Crea una nueva instancia de la clase BindableProperty.

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

Crea una nueva instancia de la clase BindableProperty para una propiedad adjunta.

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

Crea una nueva instancia de la clase BindableProperty para las propiedades de solo lectura adjuntas.

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

Crea una nueva instancia de la clase BindablePropertyKey.

Se aplica a

Consulte también