无法WPF样式组合框鼠标悬停
问题描述:
有谁知道如何样式当鼠标悬停在它的顶部有一个WPF组合框的背景属性。
Does anyone know how to style the background property of a WPF ComboBox when a mouse is hovering on top of it?
我无法摆脱蓝色十岁上下的按钮像背景关闭组合框。
I cannot get rid of the blue-ish button like background off the ComboBox.
答
它不会因为ComboBox.You的默认控件模板的work.Its可能需要重写默认模板为此behavior.Have看看
It will not work.Its because of the default control template of ComboBox.You may need to override the default template for this behavior.Have a look at
的 http://social.expression.microsoft.com/Forums/en/blend/thread/b210978c-24e8-431b-916b-a40a752b990c
的 http://social.msdn.microsoft.com/Forums/en/wpf/thread/a18891e9-8879-4819-9679-247341782f60