Specifies whether a property is appropriate to bind data to.
Object
Attribute
MemberAttribute
BindableAttribute
[Visual Basic] Public Class BindableAttribute Inherits MemberAttribute [C#] public class BindableAttribute : MemberAttribute [C++] public __gc class BindableAttribute : public MemberAttribute [JScript] public class BindableAttribute extends MemberAttribute
A data binder typically makes available only the properties marked with Bindable(true). If the property has no bindable attribute or is marked with Bindable(false), then it is not appropriate for binding. The default is false.
Note When you mark a property with Bindable(true), the value of this attribute is set to the constant member BindableAttribute.Yes. For a property marked with Bindable(false), the value is BindableAttribute.No. Therefore, when you want to check the value of this attribute in your code, you must specify the attribute as BindableAttribute.Yes or BindableAttribute.No.
For more information, see TBD and TBD.
Namespace: System.ComponentModel
Assembly: System.dll
System.ComponentModel Namespace | MemberAttribute | PropertyDescriptor | EventDescriptor