DependencyPropertyOptions 枚举

定义

警告

此 API 现已过时。

表示 DependencyProperty 选项的枚举。Represents an enumeration of DependencyProperty options.

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

public enum class DependencyPropertyOptions
[System.Flags]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public enum DependencyPropertyOptions
type DependencyPropertyOptions = 
Public Enum DependencyPropertyOptions
继承
DependencyPropertyOptions
属性

字段

Default 1

默认选项。Default option. 没有显著的特性。No noted characteristic.

DelegateProperty 32

此选项用于指定属性的类型是否为 DelegateThis option is used to specify whether or not a property is of type Delegate. 使用此项从事件中消除委托属性的歧义非常重要。It is important to use this to disambiguate the delegate properties from events.

Metadata 8

DependencyProperty 表示元数据。The DependencyProperty represents metadata.

NonSerialized 16

DependencyProperty 未序列化。The DependencyProperty is not serialized.

Optional 4

DependencyProperty 为可选属性。The DependencyProperty is an optional property.

ReadOnly 2

DependencyProperty 为只读。The DependencyProperty is read-only.

注解

备注

本材料讨论的类型和命名空间已废弃不用。This material discusses types and namespaces that are obsolete. 有关详细信息,请参阅 Windows Workflow Foundation 4.5 中弃用的类型For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

适用于