Direction with SlideAndZoomTransition

7 posts, 0 answers
  1. Michele
    Michele avatar
    30 posts
    Member since:
    Mar 2008

    Posted 18 Oct 2010 Link to this post

    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

  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 18 Oct 2010 Link to this post

    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
  3. UI for WPF is Visual Studio 2017 Ready
  4. Michele
    Michele avatar
    30 posts
    Member since:
    Mar 2008

    Posted 18 Oct 2010 Link to this post

    Hi Konstantina,
    Do you mean that the only way is to create a Custom Transition ?

    thanks again
    m
  5. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 20 Oct 2010 Link to this post

    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
  6. Michele
    Michele avatar
    30 posts
    Member since:
    Mar 2008

    Posted 20 Oct 2010 Link to this post

    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
  7. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 22 Oct 2010 Link to this post

    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
  8. Michele
    Michele avatar
    30 posts
    Member since:
    Mar 2008

    Posted 22 Oct 2010 Link to this post

    It works!
    thanks a lot
Back to Top
UI for WPF is Visual Studio 2017 Ready