【发布时间】:2013-12-18 21:42:03
【问题描述】:
我在自定义颜色的界面上有几个按钮。当我将鼠标悬停在它们上面时,它们会染上微软在 Windows 中使用的那种蓝色。它看起来很棒,只是不是我的颜色组合(黑色和金色)。
如何消除点击行为的突出显示?我需要为我的所有按钮执行此操作,这些按钮继承自基本样式:
<Style x:Key="ContentControlElementsStyle" TargetType="ContentControl">
<Setter Property="FontFamily" Value="Segoe UI"/>
<Setter Property="Background" Value="Black"/>
<Setter Property="Foreground" Value="#F1B82D"/>
<Setter Property="BorderBrush" Value="#F1B82D"/>
</Style>
【问题讨论】: