【发布时间】:2013-08-23 02:23:48
【问题描述】:
我尝试使用以下代码为 xctk:IntegerUpDown 控件的边框设置颜色。
<Style TargetType="{x:Type xctk:IntegerUpDown}" >
<Setter Property="Background" Value="{StaticResource WindowBrush}" />
<Setter Property="Foreground" Value="{StaticResource TextBrush}" />
<Setter Property="BorderBrush" Value="Green"/>
<Setter Property="BorderThickness" Value="5"/>
</Style>
BorderThickness 显示正确,但边框颜色未按指定显示。 我肯定错过了什么。有人可以帮忙吗?
谢谢,
【问题讨论】:
标签: wpf c#-4.0 wpftoolkit