how to get animation target on Completed event RRS feed

  • Question

  • 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


  • Hi Helin,

    I think it's still possible to save the animation and its target as a KeyValue pair in a dictionary by changing the Storyboard stuff in your link to animation.

    Did you encounter any problem?

    Best regards,

    Min Zhu
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by Min ZhuMember Thursday, January 24, 2013 7:54 AM
    Wednesday, January 16, 2013 9:19 AM