如何创建一个WPF组合框平面样式? [英] How to create a WPF combobox flat style?

查看:144
本文介绍了如何创建一个WPF组合框平面样式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为Visual Studio 2010中的组合框创建一个WPF组合框的平面样式模板。我想为这个模板使用Visual Studio画笔。

I want to create a flat style template for WPF combobox which looks like a combobox in Visual Studio 2010. Also I want to use Visual Studio brushes for this template.

有人帮我找到方法吗?有没有完成的模板?

Does anybody help me to find the way? Are there any completed templates? Also does anybody know something about an application that can get controls templates from other applications?

推荐答案

你的意思是工具栏组合框工具栏样式吗?
尝试此

Do you mean toolbar combobox toolbar style? Try this

<ComboBox Style="{StaticResource {x:Static ToolBar.ComboBoxStyleKey}}"/>

这篇关于如何创建一个WPF组合框平面样式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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