[WPF] Storyboard and Mouse Over
Hi,
I have this storyBoard:
<Storyboard x:Key="myStoryBoard"
BeginTime="00:00:00"
RepeatBehavior="Forever"
Storyboard.TargetName="myBtn"
Storyboard.TargetProperty="(Foreground).(SolidColorBrush.Color)">
<ColorAnimation From="Black" To="Red" Duration="0:0:1"/>
</Storyboard>
<Button Name="myBtn" Margin="10" Height="30" Content="MY BUTTON">
I set it with myStoryBoard.Begin() or .Stop() and it works fine.
I have only a problem, when mouse is over the blink is stopped.
Why?
Thanks.