Hi,
I'm working with the RadTransitionControl. I see that the following enum exists:
Telerik.Windows.Controls.TransitionEffects.RotationDirection
I'm assuming (but of course could be wrong) that I can use this with transitions like SlideAndZoomTransition so that the transition will come in from left to right, rather than from right to left. Is this correct? If so, my problem is that I don't see where I can set it.
How do I set the RotationDirection on a given RadTransitionControl?
Thanks
***update: I found some posts saying you can set the flowdirection instead to change the direction. So I did that, but quickly came across the bug where the transition is flipped upside down before sliding. So then I came across the fix to that which is to instead set the slidedirection equal to the flow direction. That unfortunately has no effect for me though. Here is the code I use, but it has no effect on the direction:
private TransitionItem _CurrentTransition = null;
public TransitionItem CurrentTransition
{
get
{
if(_CurrentTransition == null)
{
_CurrentTransition = new TransitionItem();
Telerik.Windows.Controls.TransitionEffects.SlideAndZoomTransition sz = new Telerik.Windows.Controls.TransitionEffects.SlideAndZoomTransition();
sz.SlideDirection = System.Windows.FlowDirection.LeftToRight;
_CurrentTransition.Transition = sz;
}
return _CurrentTransition;
}
set
{
_CurrentTransition = value;
}
}
Any advice?
I'm working with the RadTransitionControl. I see that the following enum exists:
Telerik.Windows.Controls.TransitionEffects.RotationDirection
I'm assuming (but of course could be wrong) that I can use this with transitions like SlideAndZoomTransition so that the transition will come in from left to right, rather than from right to left. Is this correct? If so, my problem is that I don't see where I can set it.
How do I set the RotationDirection on a given RadTransitionControl?
Thanks
***update: I found some posts saying you can set the flowdirection instead to change the direction. So I did that, but quickly came across the bug where the transition is flipped upside down before sliding. So then I came across the fix to that which is to instead set the slidedirection equal to the flow direction. That unfortunately has no effect for me though. Here is the code I use, but it has no effect on the direction:
private TransitionItem _CurrentTransition = null;
public TransitionItem CurrentTransition
{
get
{
if(_CurrentTransition == null)
{
_CurrentTransition = new TransitionItem();
Telerik.Windows.Controls.TransitionEffects.SlideAndZoomTransition sz = new Telerik.Windows.Controls.TransitionEffects.SlideAndZoomTransition();
sz.SlideDirection = System.Windows.FlowDirection.LeftToRight;
_CurrentTransition.Transition = sz;
}
return _CurrentTransition;
}
set
{
_CurrentTransition = value;
}
}
Any advice?