相较于真正的属性变更事件,使用属性触发程序对属性变更采取动作有一些限制。
Compared to a true property changed event, using a property trigger to act on a property change has some limitations.
属性触发程序会在样式或样板内建立,可让您根据指派属性触发程序之属性的值,建立条件式行为。
A property trigger is created within a style or template and enables you to create a conditional behavior based on the value of the property where the property trigger is assigned.
然而,您可以在样式中使用附加属性参考做为属性触发程序,以便将不同的样式值套用至溢位面板中之工具列内的项目。
However, you can use the attached property reference as a property trigger in a style, to apply different style values to an item within a toolbar that is in the overflow panel.
设想一下,您将能够引用在屏幕上呈现的任何HTML元素、更改其属性、设置由事件触发的处理程序并修改其外观,而所有这些都能即时实现。而这一切如今已成为现实。
Imagine if you could reference any HTML element rendered on the screen, change its properties, set handlers triggered by events, and modify its appearance — all instantaneously.
向后兼容(BC)和向前兼容(FC)方式都是通过version属性触发的,而不是处理程序开关或者启动选项。
Backwards compatibility (BC) and FC modes are always triggered by the version attribute, not by any processor switch or launch-time option.
当您在伺服器总管中选取触发程序时,这些属性会出现在属性视窗中。
These properties appear in the properties window when you select a Trigger in Server Explorer.
当您在伺服器总管中选取触发程序时,这些属性会出现在属性视窗中。
These properties appear in the properties window when you select a Trigger in Server Explorer.
应用推荐