I'm trying to get a Panel to animate a sliding in behavior in WPF. The panel with fills from the center out rather than from the left and it only animates the first time.
Below is the markup for my animation.
<Style.Triggers>
<Trigger Property="Visibility" Value="Visible">
<Trigger.EnterActions>
<BeginStoryboard>
<Storyboard>
<DoubleAnimation From="0" To="200" Duration="0:0:0.5"
AccelerationRatio="0.2" DecelerationRatio="0.1"
Storyboard.TargetProperty="Width"/>
</Storyboard>
</BeginStoryboard>
</Trigger.EnterActions>
</Trigger>
</Style.Triggers>
How do I resolve to move in/out properly?