C# Class WinRTXamlToolkit.Controls.FlipTransition

3D flip transition
Inheritance: PageTransition
显示文件 Open project: xyzzer/WinRTXamlToolkit

Public Properties

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

Public Methods

Method Description
FlipTransition ( ) : System

Initializes a new instance of the FlipTransition class.

Protected Methods

Method Description
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
OnAxisOfFlipChanged ( AxisOfFlip oldAxisOfFlip, AxisOfFlip newAxisOfFlip ) : void

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

OnAxisOfFlipChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the AxisOfFlip property.

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

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

FlipTransition() public method

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

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

Property Details

AxisOfFlipProperty public_oe static_oe property

AxisOfFlip Dependency Property
public static DependencyProperty,Windows.UI.Xaml AxisOfFlipProperty
return Windows.UI.Xaml.DependencyProperty

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