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

Direction with SlideAndZoomTransition

6 Answers 118 Views
TransitionControl
This is a migrated thread and some comments may be shown as answers.
Michele
Top achievements
Rank 1
Michele asked on 18 Oct 2010, 09:45 AM
Hi,
I'm looking for a way to invert the transition of movement in "SlideAndZoomTransition".
I'm implementing a behavior of type: "Go Forward" and "Go Back" between some userControls (in a "Wizard Like" situation).

Is It possible to invert the movement direction of the transition when I choose "Go Back"?

thanks a lot
Michele

6 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 18 Oct 2010, 12:22 PM
Hi Michele,

Thank you for contacting us.

Could you please review the following forum post in which I think is explained the same thing you are trying to achieve:
http://www.telerik.com/community/forums/silverlight/transition-control/custom-transitions.aspx

Please let us know if you need more help.

Sincerely yours,
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
0
Michele
Top achievements
Rank 1
answered on 18 Oct 2010, 01:23 PM
Hi Konstantina,
Do you mean that the only way is to create a Custom Transition ?

thanks again
m
0
Konstantina
Telerik team
answered on 20 Oct 2010, 10:03 AM
Hello Michele,

You can also set the SlideDirection property of the SlideAndZoomTransition. If you need to make more changes to the transition, then you will have to use custom transition.

Please let us know if you have any other inquiries.

Greetings,
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
0
Michele
Top achievements
Rank 1
answered on 20 Oct 2010, 10:46 AM
yes, the SlideDirection property Is what I was looking for.

but I'va found 2 kind of problems:

1. It would be fine it was a Dependency property .
2. If I set it in XAML it's all ok; But if I try to change it at RunTime I've no effects on the behavior : I mean that the direction doesn't change - Is it a little bug or I'm making some mistake?
 
Thanks again
0
Konstantina
Telerik team
answered on 22 Oct 2010, 07:27 AM
Hello Michele,

To make it work I can suggest you do the following:
- define 2 slide and zoom transitions in the code-behind, one for left-to-right and one for right-to-left direction
- set each one for the different directions, but do this before the content is changed, because when the transition has already begun there will be no effect.

Please let us know if you need further help.

Greetings,
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
0
Michele
Top achievements
Rank 1
answered on 22 Oct 2010, 02:11 PM
It works!
thanks a lot
Tags
TransitionControl
Asked by
Michele
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Michele
Top achievements
Rank 1
Share this question
or