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

radChart with Transitions

4 Answers 102 Views
TransitionControl
This is a migrated thread and some comments may be shown as answers.
Paul Gallen
Top achievements
Rank 1
Paul Gallen asked on 09 Sep 2010, 03:31 PM

Hi,

Using your online examples as a base I have develped a SL app that can display one of 3 radCharts depending on what the user has selected from a listbox. The selected radChart is displayed in the ContentTemplate of the RadTransitionControl. The transition I use is also taken from your example

 

tempViewModel = New TransitionEffectViewModel()

tempViewModel.Name = "SlideAndZoomTransition"

tempViewModel.TransitionProvider = New SlideAndZoomTransition()

tempViewModel.Duration = New TimeSpan(0, 0, 0, 0, 1)

list.Add(tempViewModel)

irrespective of the timespan value the transition speed is constant, that is; it is quite slow to render the next radChart
The radcharts are placed in a usercontrol and the usercontrol is in a radTile control. Apart from this issue all my requirements work very well.

btw (nice controls)

P

 

 

4 Answers, 1 is accepted

Sort by
0
Accepted
Miroslav Nedyalkov
Telerik team
answered on 09 Sep 2010, 03:59 PM
Hi Paul,

Thank you for the good words!

 The transition duration depends on the value of the Duration property of the RadTransitionControl. The view-model you create is needed in our example, because we have multiple transitions and a combo box that displays all of them. In your case you don't need this view-model, but to set the properties directly in XAML (Duration and Transition).

If you have further questions, don't hesitate to ask!

Kind regards,
Miroslav Nedyalkov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Paul Gallen
Top achievements
Rank 1
answered on 09 Sep 2010, 04:57 PM
Thanks Miroslav

Indeed you are correct, I forgot to bind the duration property from the ViewModel to the Duration of the Transition control

With all these nested controls and transitions, still great perfromance.

Thanks

P
0
Srini
Top achievements
Rank 1
answered on 26 Oct 2010, 12:01 PM
Hi can i have that sample project? I'm looking for the same operation...
0
Konstantina
Telerik team
answered on 27 Oct 2010, 09:39 AM
Hi Srini,

Thank you for contacting us.

You can find the example in this online demo: http://demos.telerik.com/silverlight/#TransitionControl/CustomTransition

If you have any other inquiries please let us know.

All the best,
Konstantina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
TransitionControl
Asked by
Paul Gallen
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Paul Gallen
Top achievements
Rank 1
Srini
Top achievements
Rank 1
Konstantina
Telerik team
Share this question
or