您可以将样式作为其他样式的基础,并覆盖特定的设置器:
<Style x:Key="myStyle" TargetType="xctk:ColorPicker" basedOn="{StaticResource {x:Type xctk:ColorPicker}}"> <!-- This will override the Background setter of the base style --> <Setter Property="Background" Value="Red" /></Style>但是您不能仅“覆盖” ControlTemplate的一部分。不幸的是,您必须然后重新定义整个模板。



