How to create a WPF combobox flat style?

后端 未结 3 1351
粉色の甜心
粉色の甜心 2021-01-18 13:26

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.

3条回答
  •  無奈伤痛
    2021-01-18 14:07

    Here's a link to the standard combobox styles and templates: http://msdn.microsoft.com/en-us/library/ms752094.aspx.

    You should be able to add a style, similar to the following that makes the ComboBox flat (it may need some tweaking):

    
    

提交回复
热议问题