|
123 | 123 | <MultiTrigger> |
124 | 124 | <MultiTrigger.Conditions> |
125 | 125 | <Condition Property="IsMouseOver" Value="True" /> |
| 126 | + <Condition Property="IsPressed" Value="False" /> |
126 | 127 | <Condition Property="IsChecked" Value="False" /> |
127 | 128 | </MultiTrigger.Conditions> |
128 | 129 | <Setter TargetName="StrokeBorder" Property="Background" Value="{DynamicResource CheckBoxCheckBackgroundFillUncheckedPointerOver}" /> |
129 | 130 | </MultiTrigger> |
130 | 131 | <MultiTrigger> |
131 | 132 | <MultiTrigger.Conditions> |
132 | 133 | <Condition Property="IsMouseOver" Value="True" /> |
| 134 | + <Condition Property="IsPressed" Value="True" /> |
| 135 | + <Condition Property="IsChecked" Value="False" /> |
| 136 | + </MultiTrigger.Conditions> |
| 137 | + <Setter TargetName="StrokeBorder" Property="Background" Value="{DynamicResource CheckBoxCheckBackgroundFillUncheckedPressed}" /> |
| 138 | + </MultiTrigger> |
| 139 | + <MultiTrigger> |
| 140 | + <MultiTrigger.Conditions> |
| 141 | + <Condition Property="IsMouseOver" Value="True" /> |
| 142 | + <Condition Property="IsPressed" Value="False" /> |
133 | 143 | <Condition Property="IsChecked" Value="{x:Null}" /> |
134 | 144 | </MultiTrigger.Conditions> |
135 | 145 | <Setter TargetName="ControlBorderIconPresenter" Property="Background" Value="{DynamicResource CheckBoxCheckBackgroundFillCheckedPointerOver}" /> |
|
138 | 148 | <MultiTrigger> |
139 | 149 | <MultiTrigger.Conditions> |
140 | 150 | <Condition Property="IsMouseOver" Value="True" /> |
| 151 | + <Condition Property="IsPressed" Value="True" /> |
| 152 | + <Condition Property="IsChecked" Value="{x:Null}" /> |
| 153 | + </MultiTrigger.Conditions> |
| 154 | + <Setter TargetName="ControlBorderIconPresenter" Property="Background" Value="{DynamicResource CheckBoxCheckBackgroundFillCheckedPressed}" /> |
| 155 | + <Setter TargetName="StrokeBorder" Property="BorderBrush" Value="{DynamicResource CheckBoxCheckBorderBrush}" /> |
| 156 | + </MultiTrigger> |
| 157 | + <MultiTrigger> |
| 158 | + <MultiTrigger.Conditions> |
| 159 | + <Condition Property="IsMouseOver" Value="True" /> |
| 160 | + <Condition Property="IsPressed" Value="False" /> |
141 | 161 | <Condition Property="IsChecked" Value="True" /> |
142 | 162 | </MultiTrigger.Conditions> |
143 | 163 | <Setter TargetName="ControlBorderIconPresenter" Property="Background" Value="{DynamicResource CheckBoxCheckBackgroundFillCheckedPointerOver}" /> |
144 | 164 | <Setter TargetName="StrokeBorder" Property="BorderBrush" Value="{DynamicResource CheckBoxCheckBorderBrush}" /> |
145 | 165 | </MultiTrigger> |
| 166 | + <MultiTrigger> |
| 167 | + <MultiTrigger.Conditions> |
| 168 | + <Condition Property="IsMouseOver" Value="True" /> |
| 169 | + <Condition Property="IsPressed" Value="True" /> |
| 170 | + <Condition Property="IsChecked" Value="True" /> |
| 171 | + </MultiTrigger.Conditions> |
| 172 | + <Setter TargetName="ControlBorderIconPresenter" Property="Background" Value="{DynamicResource CheckBoxCheckBackgroundFillCheckedPressed}" /> |
| 173 | + <Setter TargetName="StrokeBorder" Property="BorderBrush" Value="{DynamicResource CheckBoxCheckBorderBrush}" /> |
| 174 | + </MultiTrigger> |
146 | 175 | <Trigger Property="IsEnabled" Value="False"> |
147 | 176 | <Setter TargetName="ControlBorderIconPresenter" Property="Background" Value="{DynamicResource CheckBoxCheckBackgroundFillUncheckedDisabled}" /> |
148 | 177 | <Setter TargetName="StrokeBorder" Property="BorderBrush" Value="{DynamicResource CheckBoxCheckBackgroundStrokeUncheckedDisabled}" /> |
|
0 commit comments