|
213 | 213 | Binding="{Binding PingValue}" |
214 | 214 | ComparisonCondition="GreaterThan" |
215 | 215 | Value="120"> |
216 | | - <ia:ChangePropertyAction |
217 | | - PropertyName="Fill" |
218 | | - TargetObject="PingEllipse" |
219 | | - Value="#FF4F58" /> |
220 | | - <ia:ChangePropertyAction |
221 | | - PropertyName="Foreground" |
222 | | - TargetObject="PingText" |
223 | | - Value="#FF4F58" /> |
| 216 | + <ia:ChangePropertyAction PropertyName="Fill" TargetObject="PingEllipse"> |
| 217 | + <SolidColorBrush Color="#FF4F58" /> |
| 218 | + </ia:ChangePropertyAction> |
| 219 | + <ia:ChangePropertyAction PropertyName="Foreground" TargetObject="PingText"> |
| 220 | + <SolidColorBrush Color="#FF4F58" /> |
| 221 | + </ia:ChangePropertyAction> |
224 | 222 | </ia:DataTriggerBehavior> |
225 | 223 | <ia:DataTriggerBehavior |
226 | 224 | Binding="{Binding PingValue}" |
227 | 225 | ComparisonCondition="LessThanOrEqual" |
228 | 226 | Value="120"> |
229 | | - <ia:ChangePropertyAction |
230 | | - PropertyName="Fill" |
231 | | - TargetObject="PingEllipse" |
232 | | - Value="#47A42B" /> |
233 | | - <ia:ChangePropertyAction |
234 | | - PropertyName="Foreground" |
235 | | - TargetObject="PingText" |
236 | | - Value="#47A42B" /> |
| 227 | + <ia:ChangePropertyAction PropertyName="Fill" TargetObject="PingEllipse"> |
| 228 | + <SolidColorBrush Color="#47A42B" /> |
| 229 | + </ia:ChangePropertyAction> |
| 230 | + <ia:ChangePropertyAction PropertyName="Foreground" TargetObject="PingText"> |
| 231 | + <SolidColorBrush Color="#47A42B" /> |
| 232 | + </ia:ChangePropertyAction> |
237 | 233 | </ia:DataTriggerBehavior> |
238 | 234 | </i:Interaction.Behaviors> |
239 | 235 | <TextBlock |
|
0 commit comments