wpf 中的滑块和单选按钮样式 [英] Slider and radio button styling in wpf

查看:39
本文介绍了wpf 中的滑块和单选按钮样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试设置一些 wpf 用户控件的样式,使它们看起来与我在 Web 应用程序中的一样.除了滑块和单选按钮之外,我为我需要的每个控件找到了一些非常好的示例.
以下是它们的外观:
滑块:

I'm trying to style some wpf user controls to make them look the same i have in my web application. I found some really great example for every control i need except for sliders and radio buttons.
Here is how they should look like:
Slider:

单选按钮:

我知道我应该创建一些 ControlTemplate 但我真的不知道从哪里开始...
如果你能提供一个完整的例子,那就太完美了,但我想即使是一些很好的深刻建议也能满足我的需求.谢谢1000!

I know i should create some ControlTemplate but i don't really know where to start...
If you can provide a complete example it would be perfect, but i guess that even some good deep advise would fit my needs. Thank you 1000!

推荐答案

我有样式示例这里.它呈现这个:

I have style sample here. It renders this:

这篇关于wpf 中的滑块和单选按钮样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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