how to get animation target on Completed event


  • I do custom animation to elements in a gridview, I want to know the animation target so that I could do some post-processing (isn't is very reasonable?).

    But I found no way of doing it (another solution: is it possible to give another argument to pass to event handler while registering the event?)

    a related topic: topic, but the solution is to save target into a dictionary by storyboard's name. In my case, my content is dynamically generated, and I want to get animation target from animation (timeline) completed event rather than storyboard completed event.



    • Edited by Helin Wang Tuesday, January 15, 2013 12:07 AM
    Tuesday, January 15, 2013 12:05 AM