用于玻璃按钮的WPF / Silverlight XAML模板 [英] WPF/Silverlight XAML template for a glass button
本文介绍了用于玻璃按钮的WPF / Silverlight XAML模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这似乎很简单 - 但是......
解决方案
大卫,
你可以很容易地使用混合这样做,这里是解决方法
有一个边框元素和里面有一个网格,在这个内部网格你可以有2列,一个用于标签,另一个用于图标,你也可以设置样式
如果你想让我为你创建一个示例按钮,请告诉我。 />干杯
It seems like a simple thing - but...
解决方案
David,
you can do this using blend very easily, here is workaround
Have a border element and inside that have a grid, in this inner grid you can have 2 columns, one for label and other for icon, u can also style that
Let me know if you want me to create a sample button for you
Cheers
这篇关于用于玻璃按钮的WPF / Silverlight XAML模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文