在WPF中使用触发器的位置 [英] Where to use Triggers in WPF
本文介绍了在WPF中使用触发器的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们是否只能在样式中使用触发器属性,或者可以在其他属性中使用触发器属性?
Whether we can use trigger property only in style or it can be used in other property?
推荐答案
http://stackoverflow.com/questions/6221647/wpf-datagrid-how-to-use- my-custom-property-as-trigger [ http://windowsclient.net/learn/video.aspx?v=11994 [ ^ ]
WPF导览–第4部分(数据模板和触发器) [
http://stackoverflow.com/questions/6221647/wpf-datagrid-how-to-use-my-custom-property-as-a-trigger[^]
http://windowsclient.net/learn/video.aspx?v=11994[^]
A Guided Tour of WPF – Part 4 (Data templates and triggers)[^]
这篇关于在WPF中使用触发器的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文