Edit

Share via


BindableSupport Enum

Definition

Specifies values to indicate whether a property can be bound to a data element or another property.

C#
public enum BindableSupport
Inheritance
BindableSupport

Fields

Name Value Description
No 0

The property is not bindable at design time.

Yes 1

The property is bindable at design time.

Default 2

The property is set to the default.

Examples

For an example on how to use the BindableSupport enumeration to indicate whether a property can be bound, see the sample code in BindableAttribute.BindableAttribute.

Remarks

This class is used at design time to indicate whether a designer should offer a property as available for data binding in a visual designer. This class does not affect whether the property can be data bound at runtime.

Applies to

Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

See also