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