更改控件更改标记属性的模板 [英] Change template on changing tag property of a control

查看:49
本文介绍了更改控件更改标记属性的模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Salem all;



我有一个问题,如果任何人可以提供帮助。如何在控件的标签或内容属性更改其值时更改控件的模板。任何对这个PLZ的帮助我都是Silverlight的新手。



感谢您的帮助

Salem all;

i have a question if any one can help. how to change template of a control when its tag or content property change its value. any help for this plz i am new in silverlight.

thanks for your help

推荐答案

我做过找到这个链接,我确实使用了它的解决方案和一些自定义,它确实工作



http://stackoverflow.com/questions/4578970/how-to-create-a-wpf-like-data-trigger-in- silverlight [ ^ ]
i did find this link and i did use its solution with some customization and it did work

http://stackoverflow.com/questions/4578970/how-to-create-a-wpf-like-data-trigger-in-silverlight[^]


这篇关于更改控件更改标记属性的模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆