|
119 | 119 | </VisualStateGroup.Transitions>
|
120 | 120 | <VisualState x:Name="Open">
|
121 | 121 | <Storyboard>
|
122 |
| - <BooleanAnimationUsingKeyFrames Storyboard.TargetName="PART_Popup" Storyboard.TargetProperty="IsOpen"> |
| 122 | + <BooleanAnimationUsingKeyFrames Storyboard.TargetName="PART_Popup" Storyboard.TargetProperty="IsOpen" |
| 123 | + Duration="0"> |
123 | 124 | <DiscreteBooleanKeyFrame Value="True" KeyTime="0" />
|
124 | 125 | </BooleanAnimationUsingKeyFrames>
|
125 | 126 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_ContentCoverGrid"
|
126 |
| - Storyboard.TargetProperty="Background"> |
| 127 | + Storyboard.TargetProperty="Background" Duration="0"> |
127 | 128 | <DiscreteObjectKeyFrame Value="{StaticResource BlackBackground}" />
|
128 | 129 | </ObjectAnimationUsingKeyFrames>
|
129 | 130 | <DoubleAnimation Storyboard.TargetName="PART_ContentCoverGrid" Storyboard.TargetProperty="Opacity"
|
|
143 | 144 | <VisualState x:Name="Closed">
|
144 | 145 | <Storyboard>
|
145 | 146 | <BooleanAnimationUsingKeyFrames Storyboard.TargetName="PART_Popup" Storyboard.TargetProperty="IsOpen">
|
146 |
| - <DiscreteBooleanKeyFrame Value="False" KeyTime="0:0:0.3" /> |
| 147 | + <DiscreteBooleanKeyFrame Value="False" KeyTime="0" /> |
147 | 148 | </BooleanAnimationUsingKeyFrames>
|
148 | 149 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_ContentCoverGrid"
|
149 |
| - Storyboard.TargetProperty="Background"> |
| 150 | + Storyboard.TargetProperty="Background" Duration="0"> |
150 | 151 | <DiscreteObjectKeyFrame Value="{x:Null}" />
|
151 | 152 | </ObjectAnimationUsingKeyFrames>
|
152 | 153 | <DoubleAnimation Storyboard.TargetName="PART_ContentCoverGrid" Storyboard.TargetProperty="Opacity"
|
153 |
| - To="0" /> |
| 154 | + To="0" Duration="0"/> |
154 | 155 | </Storyboard>
|
155 | 156 | </VisualState>
|
156 | 157 | </VisualStateGroup>
|
|
309 | 310 | </VisualStateGroup.Transitions>
|
310 | 311 | <VisualState x:Name="Open">
|
311 | 312 | <Storyboard>
|
312 |
| - <ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Popup" Storyboard.TargetProperty="Visibility"> |
| 313 | + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Popup" Storyboard.TargetProperty="Visibility" |
| 314 | + Duration="0"> |
313 | 315 | <DiscreteObjectKeyFrame Value="{x:Static Visibility.Visible}" KeyTime="0" />
|
314 | 316 | </ObjectAnimationUsingKeyFrames>
|
315 | 317 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_ContentCoverGrid"
|
316 |
| - Storyboard.TargetProperty="Background"> |
| 318 | + Storyboard.TargetProperty="Background" |
| 319 | + Duration="0"> |
317 | 320 | <DiscreteObjectKeyFrame Value="{StaticResource BlackBackground}" KeyTime="0" />
|
318 | 321 | </ObjectAnimationUsingKeyFrames>
|
319 | 322 | <DoubleAnimation Storyboard.TargetName="PART_ContentCoverGrid" Storyboard.TargetProperty="Opacity"
|
|
332 | 335 | </VisualState>
|
333 | 336 | <VisualState x:Name="Closed">
|
334 | 337 | <Storyboard>
|
335 |
| - <ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Popup" Storyboard.TargetProperty="Visibility"> |
| 338 | + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Popup" Storyboard.TargetProperty="Visibility" |
| 339 | + Duration="0"> |
336 | 340 | <DiscreteObjectKeyFrame Value="{x:Static Visibility.Collapsed}" KeyTime="0" />
|
337 | 341 | </ObjectAnimationUsingKeyFrames>
|
338 | 342 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_ContentCoverGrid"
|
339 |
| - Storyboard.TargetProperty="Background"> |
| 343 | + Storyboard.TargetProperty="Background" |
| 344 | + Duration="0"> |
340 | 345 | <DiscreteObjectKeyFrame Value="{x:Null}" />
|
341 | 346 | </ObjectAnimationUsingKeyFrames>
|
342 | 347 | <DoubleAnimation Storyboard.TargetName="PART_ContentCoverGrid" Storyboard.TargetProperty="Opacity"
|
|
0 commit comments