C# Class WinRTXamlToolkit.Controls.PageTransition

Abstract base class for page transitions used with AlternativeFrame control.
Inheritance: Windows.UI.Xaml.DependencyObject
Show file Open project: xyzzer/WinRTXamlToolkit

Public Properties

Property Type Description
BackwardInAnimationProperty Windows.UI.Xaml.DependencyProperty
BackwardOutAnimationProperty Windows.UI.Xaml.DependencyProperty
DurationProperty Windows.UI.Xaml.DependencyProperty
EasingFunctionProperty Windows.UI.Xaml.DependencyProperty
ForwardInAnimationProperty Windows.UI.Xaml.DependencyProperty
ForwardOutAnimationProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
TransitionBackwardAsync ( DependencyObject previousPage, DependencyObject newPage ) : System.Threading.Tasks.Task

Runs backward transition.

TransitionForwardAsync ( DependencyObject previousPage, DependencyObject newPage ) : System.Threading.Tasks.Task

Runs forward transition.

Protected Methods

Method Description
CleanupBackwardAnimations ( DependencyObject previousPage, DependencyObject newPage ) : void

Cleans up the backward animations.

CleanupForwardAnimations ( DependencyObject previousPage, DependencyObject newPage ) : void

Cleans up the forward animations.

PrepareBackwardAnimations ( DependencyObject previousPage, DependencyObject newPage ) : void

Prepares the backward animations.

PrepareForwardAnimations ( DependencyObject previousPage, DependencyObject newPage ) : void

Prepares the forward animations.

UpdateTimelineAttributes ( ) : void

Updates the timeline attributes before the transition starts.

Method Details

CleanupBackwardAnimations() protected method

Cleans up the backward animations.
protected CleanupBackwardAnimations ( DependencyObject previousPage, DependencyObject newPage ) : void
previousPage Windows.UI.Xaml.DependencyObject The previous page.
newPage Windows.UI.Xaml.DependencyObject The new page.
return void

CleanupForwardAnimations() protected method

Cleans up the forward animations.
protected CleanupForwardAnimations ( DependencyObject previousPage, DependencyObject newPage ) : void
previousPage Windows.UI.Xaml.DependencyObject The previous page.
newPage Windows.UI.Xaml.DependencyObject The new page.
return void

PrepareBackwardAnimations() protected method

Prepares the backward animations.
protected PrepareBackwardAnimations ( DependencyObject previousPage, DependencyObject newPage ) : void
previousPage Windows.UI.Xaml.DependencyObject The previous page.
newPage Windows.UI.Xaml.DependencyObject The new page.
return void

PrepareForwardAnimations() protected method

Prepares the forward animations.
protected PrepareForwardAnimations ( DependencyObject previousPage, DependencyObject newPage ) : void
previousPage Windows.UI.Xaml.DependencyObject The previous page.
newPage Windows.UI.Xaml.DependencyObject The new page.
return void

TransitionBackwardAsync() public method

Runs backward transition.
public TransitionBackwardAsync ( DependencyObject previousPage, DependencyObject newPage ) : System.Threading.Tasks.Task
previousPage Windows.UI.Xaml.DependencyObject The previous page.
newPage Windows.UI.Xaml.DependencyObject The new page.
return System.Threading.Tasks.Task

TransitionForwardAsync() public method

Runs forward transition.
public TransitionForwardAsync ( DependencyObject previousPage, DependencyObject newPage ) : System.Threading.Tasks.Task
previousPage Windows.UI.Xaml.DependencyObject The previous page.
newPage Windows.UI.Xaml.DependencyObject The new page.
return System.Threading.Tasks.Task

UpdateTimelineAttributes() protected method

Updates the timeline attributes before the transition starts.
protected UpdateTimelineAttributes ( ) : void
return void

Property Details

BackwardInAnimationProperty public static property

BackwardInAnimation Dependency Property
public static DependencyProperty,Windows.UI.Xaml BackwardInAnimationProperty
return Windows.UI.Xaml.DependencyProperty

BackwardOutAnimationProperty public static property

BackwardOutAnimation Dependency Property
public static DependencyProperty,Windows.UI.Xaml BackwardOutAnimationProperty
return Windows.UI.Xaml.DependencyProperty

DurationProperty public static property

Duration Dependency Property
public static DependencyProperty,Windows.UI.Xaml DurationProperty
return Windows.UI.Xaml.DependencyProperty

EasingFunctionProperty public static property

EasingFunction Dependency Property
public static DependencyProperty,Windows.UI.Xaml EasingFunctionProperty
return Windows.UI.Xaml.DependencyProperty

ForwardInAnimationProperty public static property

ForwardInAnimation Dependency Property
public static DependencyProperty,Windows.UI.Xaml ForwardInAnimationProperty
return Windows.UI.Xaml.DependencyProperty

ForwardOutAnimationProperty public static property

ForwardOutAnimation Dependency Property
public static DependencyProperty,Windows.UI.Xaml ForwardOutAnimationProperty
return Windows.UI.Xaml.DependencyProperty