BindableSupport BindableSupport BindableSupport BindableSupport Enum

定义

指定值来表示是否可以将属性绑定到数据元素或另一个属性。Specifies values to indicate whether a property can be bound to a data element or another property.

public enum class BindableSupport
public enum BindableSupport
type BindableSupport = 
Public Enum BindableSupport
继承
BindableSupportBindableSupportBindableSupportBindableSupport

字段

Default Default Default Default 2

该属性被设置为默认值。The property is set to the default.

No No No No 0

该属性在设计时不可绑定。The property is not bindable at design time.

Yes Yes Yes Yes 1

该属性在设计时可绑定。The property is bindable at design time.

示例

有关如何使用BindableSupport枚举来指示属性是否可以绑定的示例, 请参阅中BindableAttribute.BindableAttribute的示例代码。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.

注解

此类在设计时用于指示设计器是否应提供可用于可视化设计器中的数据绑定的属性。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.

适用于

另请参阅