|
233 | 233 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Content" Storyboard.TargetProperty="Visibility">
|
234 | 234 | <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}" />
|
235 | 235 | </ObjectAnimationUsingKeyFrames>
|
236 |
| - <DoubleAnimation Storyboard.TargetProperty="Opacity" Storyboard.TargetName="PART_Content" |
237 |
| - To="1" Duration="0:0:0.3"/> |
238 |
| - <DoubleAnimation Storyboard.TargetProperty="Tag" Storyboard.TargetName="ContentPanel" |
239 |
| - To="1" Duration="0:0:0.3"/> |
| 236 | + <DoubleAnimation Storyboard.TargetProperty="Opacity" Storyboard.TargetName="PART_Content" To="1" Duration="0:0:0.3"/> |
240 | 237 | </Storyboard>
|
241 | 238 | </VisualTransition>
|
242 | 239 | <VisualTransition GeneratedDuration="0" To="Collapsed">
|
|
247 | 244 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Content" Storyboard.TargetProperty="Visibility">
|
248 | 245 | <DiscreteObjectKeyFrame KeyTime="0:0:0.3" Value="{x:Static Visibility.Collapsed}" />
|
249 | 246 | </ObjectAnimationUsingKeyFrames>
|
250 |
| - <DoubleAnimation Storyboard.TargetProperty="Opacity" Storyboard.TargetName="PART_Content" |
251 |
| - To="0" Duration="0:0:0.3"/> |
252 |
| - <DoubleAnimation Storyboard.TargetProperty="Tag" Storyboard.TargetName="ContentPanel" |
253 |
| - To="0" Duration="0:0:0.3"/> |
| 247 | + <DoubleAnimation Storyboard.TargetProperty="Opacity" Storyboard.TargetName="PART_Content" To="0" Duration="0:0:0.3"/> |
254 | 248 | </Storyboard>
|
255 | 249 | </VisualTransition>
|
256 | 250 | </VisualStateGroup.Transitions>
|
257 | 251 | <VisualState x:Name="Expanded">
|
258 | 252 | <Storyboard>
|
259 | 253 | <DoubleAnimation Storyboard.TargetProperty="Opacity" Storyboard.TargetName="PART_Content" To="1" Duration="0"/>
|
260 |
| - <DoubleAnimation Storyboard.TargetProperty="Tag" Storyboard.TargetName="ContentPanel" To="1" Duration="0"/> |
261 | 254 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Content" Storyboard.TargetProperty="Visibility">
|
262 | 255 | <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}" />
|
263 | 256 | </ObjectAnimationUsingKeyFrames>
|
|
266 | 259 | <VisualState x:Name="Collapsed">
|
267 | 260 | <Storyboard>
|
268 | 261 | <DoubleAnimation Storyboard.TargetProperty="Opacity" Storyboard.TargetName="PART_Content" To="0" Duration="0"/>
|
269 |
| - <DoubleAnimation Storyboard.TargetProperty="Tag" Storyboard.TargetName="ContentPanel" To="0" Duration="0"/> |
270 | 262 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Content" Storyboard.TargetProperty="Visibility">
|
271 | 263 | <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}" />
|
272 | 264 | </ObjectAnimationUsingKeyFrames>
|
|
291 | 283 | DockPanel.Dock="Bottom">
|
292 | 284 | <StackPanel Name="ContentPanel"
|
293 | 285 | HorizontalAlignment="Left">
|
294 |
| - <StackPanel.Tag> |
295 |
| - <system:Double>0.0</system:Double> |
296 |
| - </StackPanel.Tag> |
297 | 286 | <StackPanel.Height>
|
298 | 287 | <MultiBinding Converter="{StaticResource MathMlpMultipleConverter}">
|
299 | 288 | <Binding ElementName="PART_Content" Path="ActualHeight"/>
|
300 |
| - <Binding RelativeSource="{RelativeSource Self}" Path="Tag"/> |
| 289 | + <Binding ElementName="PART_Content" Path="Opacity"/> |
301 | 290 | </MultiBinding>
|
302 | 291 | </StackPanel.Height>
|
303 | 292 | <StackPanel.Width>
|
304 | 293 | <MultiBinding Converter="{StaticResource MathMlpMultipleConverter}">
|
305 | 294 | <Binding ElementName="PART_Content" Path="ActualWidth"/>
|
306 |
| - <Binding RelativeSource="{RelativeSource Self}" Path="Tag"/> |
| 295 | + <Binding ElementName="PART_Content" Path="Opacity"/> |
307 | 296 | </MultiBinding>
|
308 | 297 | </StackPanel.Width>
|
309 | 298 | <ContentPresenter Name="PART_Content" Focusable="False"
|
|
0 commit comments