次の方法で共有


BindableProperty クラス

定義

BindableProperty は、 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
継承
BindableProperty
属性

フィールド

名前 説明
UnsetValue

BindableProperty 値が設定されていないことを示すために使用される Sentinel オブジェクト。

プロパティ

名前 説明
DeclaringType

BindableProperty を宣言する型を取得します。

DefaultBindingMode

既定の BindingMode を取得します。

DefaultValue

BindableProperty の既定値を取得します。

IsReadOnly

BindableProperty が BindablePropertyKey から作成されるかどうかを示す値を取得します。

PropertyName

プロパティ名を取得します。

ReturnType

BindableProperty の型を取得します。

メソッド

名前 説明
Create(String, Type, Type, Object, BindingMode, BindableProperty+ValidateValueDelegate, BindableProperty+BindingPropertyChangedDelegate, BindableProperty+BindingPropertyChangingDelegate, BindableProperty+CoerceValueDelegate, BindableProperty+CreateDefaultValueDelegate)

BindableProperty クラスの新しいインスタンスを作成します。

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

添付プロパティの BindableProperty クラスの新しいインスタンスを作成します。

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

アタッチされた読み取り専用プロパティの BindableProperty クラスの新しいインスタンスを作成します。

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

BindablePropertyKey クラスの新しいインスタンスを作成します。

適用対象

こちらもご覧ください