C# Class WinRTXamlToolkit.Controls.PushTransition

Transition in which the old page is pushed off the screen by the new page moving into the screen
Inheritance: PageTransition
ファイルを表示 Open project: xyzzer/WinRTXamlToolkit

Public Properties

Property Type Description
BackwardDirectionProperty Windows.UI.Xaml.DependencyProperty
ForwardDirectionProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
PushTransition ( ) : System

Initializes a new instance of the PushTransition class.

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.

OnBackwardDirectionChanged ( DirectionOfMotion oldBackwardDirection, DirectionOfMotion newBackwardDirection ) : void

Provides derived classes an opportunity to handle changes to the BackwardDirection property.

OnForwardDirectionChanged ( DirectionOfMotion oldForwardDirection, DirectionOfMotion newForwardDirection ) : void

Provides derived classes an opportunity to handle changes to the ForwardDirection property.

PrepareBackwardAnimations ( DependencyObject previousPage, DependencyObject newPage ) : void

Prepares the backward animations.

PrepareForwardAnimations ( DependencyObject previousPage, DependencyObject newPage ) : void

Prepares the forward animations.

Private Methods

Method Description
OnBackwardDirectionChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the BackwardDirection property.

OnForwardDirectionChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the ForwardDirection property.

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

OnBackwardDirectionChanged() protected method

Provides derived classes an opportunity to handle changes to the BackwardDirection property.
protected OnBackwardDirectionChanged ( DirectionOfMotion oldBackwardDirection, DirectionOfMotion newBackwardDirection ) : void
oldBackwardDirection DirectionOfMotion The old BackwardDirection value
newBackwardDirection DirectionOfMotion The new BackwardDirection value
return void

OnForwardDirectionChanged() protected method

Provides derived classes an opportunity to handle changes to the ForwardDirection property.
protected OnForwardDirectionChanged ( DirectionOfMotion oldForwardDirection, DirectionOfMotion newForwardDirection ) : void
oldForwardDirection DirectionOfMotion The old ForwardDirection value
newForwardDirection DirectionOfMotion The new ForwardDirection value
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

PushTransition() public method

Initializes a new instance of the PushTransition class.
public PushTransition ( ) : System
return System

Property Details

BackwardDirectionProperty public_oe static_oe property

BackwardDirection Dependency Property
public static DependencyProperty,Windows.UI.Xaml BackwardDirectionProperty
return Windows.UI.Xaml.DependencyProperty

ForwardDirectionProperty public_oe static_oe property

ForwardDirection Dependency Property
public static DependencyProperty,Windows.UI.Xaml ForwardDirectionProperty
return Windows.UI.Xaml.DependencyProperty