This is a migrated thread and some comments may be shown as answers.

How to trigger animation during cellstyleselector event

1 Answer 48 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ifdev02
Top achievements
Rank 1
Ifdev02 asked on 29 Jun 2012, 06:26 AM
Hello

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.

Regards,
If

1 Answer, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 04 Jul 2012, 07:26 AM
Hello,

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 >>

Tags
GridView
Asked by
Ifdev02
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Share this question
or