Class Rotate3DTransition
public class Rotate3DTransition : PageSlide, IPageTransition
- Inheritance
-
Rotate3DTransition
- Implements
- Inherited Members
Constructors
Rotate3DTransition()
Creates a new instance of the Rotate3DTransition
public Rotate3DTransition()
Rotate3DTransition(TimeSpan, SlideAxis, double?)
Creates a new instance of the Rotate3DTransition
public Rotate3DTransition(TimeSpan duration, PageSlide.SlideAxis orientation = SlideAxis.Horizontal, double? depth = null)
Parameters
duration
TimeSpanHow long the rotation should take place
orientation
PageSlide.SlideAxisThe orientation of the rotation
depth
double?Defines the depth of the 3D Effect. If null, depth will be calculated automatically from the width or height of the common parent of the visual being rotated
Properties
Depth
Defines the depth of the 3D Effect. If null, depth will be calculated automatically from the width or height of the common parent of the visual being rotated.
public double? Depth { get; set; }
Property Value
Methods
Start(Visual?, Visual?, bool, CancellationToken)
Starts the animation.
public override Task Start(Visual? from, Visual? to, bool forward, CancellationToken cancellationToken)
Parameters
from
VisualThe control that is being transitioned away from. May be null.
to
VisualThe control that is being transitioned to. May be null.
forward
boolIf the animation is bidirectional, controls the direction of the animation.
cancellationToken
CancellationTokenAnimation cancellation.