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

Transition in Templated Control on Style Change

1 Answer 42 Views
TransitionControl
This is a migrated thread and some comments may be shown as answers.
jason
Top achievements
Rank 1
jason asked on 18 Aug 2011, 03:15 PM
I have a templated control that works as a Pivot Grid.  The grid pivots by changing styles of the control and I was wondering how I can apply a Transition when the style changes.  I tried creating a RadTransitionControl in my code and setting the content to the control and also tried the style.  I also tried an element binding to the control with path equal to the style.  Still no luck.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 23 Aug 2011, 02:05 PM
Hello Jason,

Putting a TransitionControl in the style will cause creation of a new instance of the control template. I can suggest you to try the following: put the control in the TransitionControl and when you change the style, set up the transition manually.

Please give it a try and let us know how did that go.

Kind regards,
Konstantina
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
TransitionControl
Asked by
jason
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or