Once you get used to the new bind, trigger and animation support, it is hard to go back to the old style of imperative, event-driven UI programming.
一旦你习惯了新的绑定、触发器及动画支持,你就很难回到老风格命令式的、事件驱动的UI编程方法。
This style can work well for tests that require lots of preconditions or that have a specific trigger.
这种技术对于有着很多前提条件或者有特定触发点的测试非常适用。
To trigger the old XP style one, you'll need to do the following.
唤出旧版的XP风格,你只需要按照下面步骤。
The most important remaining capability is that the read-only dependency property can still be used as a property trigger in a style.
只读依赖项属性仍可以用作样式中的属性触发器,这是其他功能中最为重要的一个。
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.
然而,您可以在样式中使用附加属性参考做为属性触发程序,以便将不同的样式值套用至溢位面板中之工具列内的项目。
How do I style multiple cells of a data grid based on the same trigger?
我怎么风格的DataGrid基于相同的触发多个细胞?
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.
属性触发程序会在样式或样板内建立,可让您根据指派属性触发程序之属性的值,建立条件式行为。
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.
属性触发程序会在样式或样板内建立,可让您根据指派属性触发程序之属性的值,建立条件式行为。
应用推荐