This dependency property inherits property values.
这个相依性属性会继承属性值。
It can be (and frequently is) a read-only dependency property.
它可以是(也经常是)唯读相依性属性。
Gets the value validation callback for the dependency property.
获取依赖项对象的默认元数据。
Associates a dependency property with a shader sampler register.
将依赖项属性与着色器的采样器寄存器相关联。
Registers a dependency property as a read-only dependency property.
将相依性属性注册为唯读的相依性属性。
Returns the metadata for this dependency property as it exists on a specified type.
为此依赖项属性(当它位于指定类型上时)返回元数据。
Returns the metadata for this dependency property as it exists on a specified existing type.
为此依赖项属性(当它位于指定的现有类型上时)返回元数据。
DependencyPropertyKey identifies a read-only dependency property for property system operations.
定义只读依赖项属性的类不应使用公共访问权限公开此键。
Returns the metadata associated with this dependency property as it exists for a particular type.
返回与此依赖项属性(当它位于特定类型上时)关联的元数据。
Typically these events report effective value changes in the value of a read-only dependency property.
通常,这些事件会报告只读依赖项属性的值中的有效值更改。
The following example illustrates the dependency property metadata override usage discussed in Remarks.
下面的示例演示了“备注”中讨论的依赖项属性元数据重写用法。
Dependency property metadata should be overridden before the property system USES the dependency property.
相依性属性中继资料应在属性系统使用相依性属性之前予以覆写。
This equates to the time that specific objects are created for the class that registers the dependency property.
这与针对可注册相依性属性的类别建立特定物件的时机相同。
Many dependency property classes already have default metadata established as part of their registration process.
许多相依性属性类别在注册时都已建立了预设中继资料。
A dependency property is a concept specific to WPF that represent a dynamically computed property of a UI element.
依赖项属性是特定于WPF的概念,它表示UI元素的动态计算的属性。
Registers a dependency property with the specified property name, property type, owner type, and property metadata.
使用指定的属性名称、属性类型、所有者类型和属性元数据注册依赖项属性。
The supplied metadata is merged with the property metadata for the dependency property as it exists on the base owner.
所提供的中继资料会与存在于基底拥有者之相依性属性的属性中继资料合并。
However, the property system itself calls and exposes callbacks internally, as part of the dependency property system.
不过,属性系统本身会在内部呼叫和公开回呼,以做为相依性属性系统的一部分。
Dependency property metadata does not vary per instance; it is always consistent for any given type-property combination.
相依性属性中继资料不会随著执行个体而改变,在任何指定的“型别-属性”组合中,此中继资料始终都是一致的。
When a change occurs to the value of a dependency property that is marked with metadata affecting the measure or arrange passes.
用影响测量或排列过程的元数据进行了标记的依赖项属性的值发生更改。
The following example includes an implementation of this callback to validate a range of values for a custom dependency property.
下列范例包含这个回呼的实作,以验证自订相依性属性值的范围。
The most important remaining capability is that the read-only dependency property can still be used as a property trigger in a style.
只读依赖项属性仍可以用作样式中的属性触发器,这是其他功能中最为重要的一个。
To correct this problem, you must reset the collection dependency property value to a unique instance, as part of the class constructor call.
若要更正这个问题,您必须将集合相依性属性值重设成唯一执行个体,做为类别建构函式逻辑呼叫的一部分。
Gets or sets a value declaring whether animations should be disabled on the dependency property where the containing metadata instance is applied.
取得或设定值,这个值宣告是否应停用套用包含中继资料执行个体之相依性属性上的动画。
If the provided type does not match the type that is declared for the dependency property as it was originally registered, an exception is thrown.
如果提供的型别与最初注册相依性属性时所宣告的型别不相符,则会掷回例外状况。
Clearing the binding removes the binding so that the value of the dependency property is changed to whatever it would have been without the binding.
清除绑定会移除绑定,这样依赖项属性的值会更改为过去尚未绑定时的值。
What this rule might be reporting is a trace through the dependency property system that eventually calls a dependency property system virtual method.
此规则所报告的可能是透过相依性属性系统 (最终呼叫相依性属性系统虚拟方法) 所进行的追踪。
This topic assumes that you understand the basic scenarios of implementing a dependency property, and how metadata is applied to a custom dependency property.
本主题假定您了解实现依赖项属性的基本方案以及如何将元数据应用到自定义依赖项属性。
This topic assumes that you understand the basic scenarios of implementing a dependency property, and how metadata is applied to a custom dependency property.
本主题假定您了解实现依赖项属性的基本方案以及如何将元数据应用到自定义依赖项属性。
应用推荐