<Style x:Key="CheckButtonSingle" TargetType="{x:Type local:CheckButton}">
<Setter Property="FocusVisualStyle" Value="{x:Null}"/>
<Setter Property="Width" Value="60"/>
<Setter Property="Height" Value="48"/>
<Setter Property="IconWidth" Value="20"/>
<Setter Property="IconHeight" Value="20"/>
<Setter Property="CornerRadius" Value="0"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="Foreground" Value="#E4EFF1"/>
<Setter Property="Background" Value="{StaticResource Primary}"/>
<Setter Property="BorderBrush" Value="Transparent"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemp
在样式Style中的触发器属性中设置样式值
最新推荐文章于 2023-05-20 15:45:44 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)