How to trigger animation during cellstyleselector event

2 posts, 0 answers
  1. Ifdev02
    Ifdev02 avatar
    68 posts
    Member since:
    Jul 2007

    Posted 29 Jun 2012 Link to this post


    I wish to animate a storyboard for a cell, during the change of cellstyleseletor.
    I was unable to place a storyboard in location that can be trigger by gridviewcell.

    Please give some example of change background back and return.

  2. Ivan Ivanov
    Ivan Ivanov avatar
    1218 posts

    Posted 04 Jul 2012 Link to this post


    Here is a blog article that illustrates a similar scenario. I believe that you can easily adapt it to fit your needs. As a side note, please let me notify you that utilizing the Loaded event may no be a viable approach, due to RadGridView's container recycling mechanism (you can try PropertyChanged instead). As for your request to trigger it on StyleSelector.SelectStyle(), I believe it won't be a proper approach, as this would try to trigger the storyboard before the style itself has been applied. Please, let us know in case you need any additional assistance for the implementation of this.

    Kind regards,
    Ivan Ivanov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top