use data trigger control the storyboard, but only trigger one time
问题 I use a data trigger to control some storyboards, but it only can be trigger one time. <Style x:Key="PropertyTriggerExampleButtonStyle" TargetType="{x:Type Button}"> <Setter Property="Width" Value="200" /> <Style.Triggers> <DataTrigger Binding="{Binding para}" Value="0"> <DataTrigger.EnterActions> <BeginStoryboard> <Storyboard> <DoubleAnimation Storyboard.TargetProperty="Width" To="500" Duration="0:0:1" /> </Storyboard> </BeginStoryboard> </DataTrigger.EnterActions> </DataTrigger>