Skip to main content

Rotate3DTransition Class

Definition

Assembly:Avalonia.Base
Package:Avalonia
public class Rotate3DTransition

Inheritance: object -> PageSlide -> Rotate3DTransition

Constructors

Rotate3DTransition overloads

Rotate3DTransition Constructor

Creates a new instance of the Avalonia.Animation.Rotate3DTransition

public Rotate3DTransition()

Rotate3DTransition Constructor

public Rotate3DTransition(TimeSpan duration, Avalonia.Animation.PageSlide.SlideAxis orientation, Nullable<double> depth)
Parameters

duration TimeSpan

orientation Avalonia.Animation.PageSlide.SlideAxis

depth Nullable<double>

Methods

NameDescription
StartNo summary available.

Start Method

public System.Threading.Tasks.Task Start(Avalonia.Visual from, Avalonia.Visual to, bool forward, System.Threading.CancellationToken cancellationToken)

Parameters

from Avalonia.Visual

to Avalonia.Visual

forward bool

cancellationToken System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task

Properties

NameDescription
DepthDefines 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.
DurationGets the duration of the animation. Inherited from PageSlide.
FillModeGets or sets the fill mode applied to both slide animations. Defaults to Avalonia.Animation.FillMode.Forward, which keeps the final transform value after the animation completes and prevents a one-frame flash where the outgoing element snaps back to its original position before IsVisible = false takes effect. Inherited from PageSlide.
OrientationGets the orientation of the animation. Inherited from PageSlide.
SlideInEasingGets or sets element entrance easing. Inherited from PageSlide.
SlideOutEasingGets or sets element exit easing. Inherited from PageSlide.

Depth Property

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 Nullable<double> Depth { get; set; }