Is there a way to use Storyboard with ListView/GridView items?

Alex 6 Reputation points
2020-01-18T02:20:17.48+00:00

Hi all,

Here is my question:

I have a GridView in my UWP app. Each item in the GridView, keeps a button. Like following:

I also have a pre-defined animation in a Storyboard like following

OK, here comes the question, is it possible to use the animations defined in the Storyboards with the GridView items? What I want is: When user clicks on the mOpenDetailButton button, OpenStoryboard will be played, and the ScaleY value of grid changes with it.

Any help would be appreciated, thank you.

Universal Windows Platform (UWP)
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.