BindableAttribute コンストラクタ (BindableSupport)
アセンブリ: System (system.dll 内)


BindableAttribute に true を設定してプロパティをマークすると、この属性の値は定数メンバ Yes に設定されます。false に設定された BindableAttribute でマークしたプロパティの場合、値は No になります。したがって、コード内でこの属性の値を確認する場合は、この属性を BindableAttribute.Yes または BindableAttribute.No として指定する必要があります。

プロパティがデータのバインド先として適切であることをマークするコード例を次に示します。このコード例では、新しい BindableAttribute を作成し、その値を BindableAttribute.Yes に設定してから、その属性をプロパティに関連付けます。
<Bindable(BindableSupport.Yes)> _ Public Property MyProperty As Integer Get ' Insert code here. Return 0 End Get Set ' Insert code here. End Set End Property
[Bindable(BindableSupport.Yes)] public int MyProperty { get { // Insert code here. return 0; } set { // Insert code here. } }

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


BindableAttribute コンストラクタ (Boolean, BindingDirection)
アセンブリ: System (system.dll 内)

Dim bindable As Boolean Dim direction As BindingDirection Dim instance As New BindableAttribute(bindable, direction)

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


BindableAttribute コンストラクタ (Boolean)
アセンブリ: System (system.dll 内)


BindableAttribute に true を設定してプロパティをマークすると、この属性の値は定数メンバ Yes に設定されます。false に設定された BindableAttribute でマークしたプロパティの場合、値は No になります。したがって、コード内でこの属性の値を確認する場合は、この属性を BindableAttribute.Yes または BindableAttribute.No として指定する必要があります。

プロパティがデータのバインド先として適切であることをマークするコード例を次に示します。このコード例では、新しい BindableAttribute を作成し、その値を BindableAttribute.Yes に設定してから、その属性をプロパティに関連付けます。
<Bindable(true)> _ Public Property MyProperty As Integer Get ' Insert code here. Return 0 End Get Set ' Insert code here. End Set End Property
[Bindable(true)] public int MyProperty { get { // Insert code here. return 0; } set { // Insert code here. } }

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


BindableAttribute コンストラクタ (BindableSupport, BindingDirection)
アセンブリ: System (system.dll 内)

Dim flags As BindableSupport Dim direction As BindingDirection Dim instance As New BindableAttribute(flags, direction)

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


BindableAttribute コンストラクタ

名前 | 説明 |
---|---|
BindableAttribute (BindableSupport) | BindableSupport 値の 1 つを指定して、BindableAttribute クラスの新しいインスタンスを初期化します。 |
BindableAttribute (Boolean) | Boolean 値を指定して、BindableAttribute クラスの新しいインスタンスを初期化します。 |
BindableAttribute (BindableSupport, BindingDirection) | BindableAttribute クラスの新しいインスタンスを初期化します。 |
BindableAttribute (Boolean, BindingDirection) | BindableAttribute クラスの新しいインスタンスを初期化します。 |

関連項目
BindableAttribute クラスBindableAttribute メンバ
System.ComponentModel 名前空間
BindableAttribute クラス
BindableSupport
Weblioに収録されているすべての辞書からBindableAttribute コンストラクタを検索する場合は、下記のリンクをクリックしてください。

- BindableAttribute コンストラクタのページへのリンク