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.BindableAttributeFor 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.

适用于

另请参阅