Kryštof Macek
Kryštof Macek

Reputation: 31

How to make button Blink in UWP?

I'm working on UWP quizz app and I want to let user know that he selected right or wrong answer by making selected button blink. I tried some code used in WPF but it isn't working. Is it possible in UWP?

Upvotes: 0

Views: 498

Answers (1)

Kryštof Macek
Kryštof Macek

Reputation: 31

<Storyboard x:Name="ButtonBlink" BeginTime="00:00:00" RepeatBehavior="00:00:05" Storyboard.TargetName="PrvniOdpovedButton" Storyboard.TargetProperty="(Foreground).(SolidColorBrush.Color)"> <ColorAnimation From="Black" To="Red" Duration="0:0:1"/>

Already found solution. Thanks

Upvotes: 1

Related Questions