日期:2014-05-17 浏览次数:20984 次
<Button Content="Button" HorizontalAlignment="Stretch" Margin="193,114,0,0" VerticalAlignment="Top" Width="75" Height="30">
<Button.Triggers>
<EventTrigger RoutedEvent="Loaded">
<BeginStoryboard>
<Storyboard AccelerationRatio="0.3" BeginTime="0:0:4" RepeatBehavior="Forever">
<DoubleAnimation Storyboard.TargetProperty="Width" To="150" Duration="0:0:2"/>
<DoubleAnimation Storyboard.TargetProperty="Height" To="60" Duration="0:0:2"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger>
</Button.Triggers>
</Button>