|
|
|
@ -126,7 +126,7 @@ |
|
|
|
</KeyFrame> |
|
|
|
</Animation> |
|
|
|
</Style.Animations> |
|
|
|
<Setter Property="BorderBrush" Value="{DynamicResource ToggleSwitchStrokeOn}"/> |
|
|
|
<Setter Property="BorderBrush" Value="royalblue"/> |
|
|
|
</Style> |
|
|
|
|
|
|
|
<Style Selector="ToggleSwitch:checked /template/ Border#PART_BorderBackground"> |
|
|
|
@ -140,12 +140,12 @@ |
|
|
|
</KeyFrame> |
|
|
|
</Animation> |
|
|
|
</Style.Animations> |
|
|
|
<Setter Property="BorderBrush" Value="{DynamicResource ToggleSwitchStrokeOn}"/> |
|
|
|
<Setter Property="BorderBrush" Value="Royalblue"/> |
|
|
|
</Style> |
|
|
|
|
|
|
|
<Style Selector="ToggleSwitch:pressed /template/ Border#PART_BorderBackground"> |
|
|
|
<!--<Style Selector="ToggleSwitch:pressed /template/ Border#PART_BorderBackground"> |
|
|
|
<Setter Property="BorderBrush" Value="{DynamicResource ThemeControlHighBrush}"/> |
|
|
|
</Style> |
|
|
|
</Style>--> |
|
|
|
|
|
|
|
<Style Selector="ToggleSwitch:checked /template/ ContentControl#PART_TextBooleanValue"> |
|
|
|
<Setter Property="Content" Value="On"/> |
|
|
|
@ -164,7 +164,7 @@ |
|
|
|
</Style> |
|
|
|
|
|
|
|
<Style Selector="ToggleSwitch:focus:checked /template/ Border#PART_BorderBackground"> |
|
|
|
<Setter Property="Background" Value="{DynamicResource ToggleSwitchFillOn}"/> |
|
|
|
<Setter Property="Background" Value="Royalblue"/> |
|
|
|
</Style> |
|
|
|
|
|
|
|
<Style Selector="ToggleSwitch:focus /template/ Border#PART_BorderBackground:pointerover"> |
|
|
|
|