PageSlide Class

Summary

Transitions between two pages by sliding them horizontally.
Namespace
Avalonia.Animation
Interfaces
Base Types
  • object
graph BT Type-->Base0["object"] Type-.->Interface0["IPageTransition"] click Interface0 "/api/Avalonia.Animation/IPageTransition" Type["PageSlide"] class Type type-node

Syntax

public class PageSlide : IPageTransition

Constructors

Name Summary
PageSlide() Initializes a new instance of the PageSlide class.
PageSlide(TimeSpan, PageSlide.SlideAxis) Initializes a new instance of the PageSlide class.

Properties

Name Value Summary
Duration TimeSpan
Gets the duration of the animation.
Orientation PageSlide.SlideAxis
Gets the duration of the animation.

Methods

Name Value Summary
Start(Visual, Visual, bool) Task
Starts the animation.