Compared to a true property changed event, using a property trigger to act on a property change has some limitations.
相较于真正的属性变更事件,使用属性触发程序对属性变更采取动作有一些限制。
The most important remaining capability is that the read-only dependency property can still be used as a property trigger in a style.
只读依赖项属性仍可以用作样式中的属性触发器,这是其他功能中最为重要的一个。
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.
属性触发程序会在样式或样板内建立,可让您根据指派属性触发程序之属性的值,建立条件式行为。
应用推荐