C# Class ZForge.Controls.ExplorerBar.Expando.AnimationHelper

A class that helps Expandos animate
Inheritance: IDisposable
Show file Open project: zhuangyy/Motion

Public Properties

Property Type Description
FadeAnimation int
NumAnimationFrames int
SlideAnimation int

Public Methods

Method Description
AnimationHelper ( Expando expando, int animationType ) : System

Initializes a new instance of the AnimationHelper class with the specified settings

Dispose ( ) : void

Releases all resources used by the AnimationHelper

StartAnimation ( ) : void

Starts the Expando collapse/expand animation

StopAnimation ( ) : void

Stops the Expando collapse/expand animation

Protected Methods

Method Description
PerformAnimation ( ) : void

Updates the animation for the Expando

Private Methods

Method Description
animationTimer_Tick ( object sender, EventArgs e ) : void

Event handler for the animation timer tick event

Method Details

AnimationHelper() public method

Initializes a new instance of the AnimationHelper class with the specified settings
public AnimationHelper ( Expando expando, int animationType ) : System
expando Expando The Expando to be animated
animationType int The type of animation to perform
return System

Dispose() public method

Releases all resources used by the AnimationHelper
public Dispose ( ) : void
return void

PerformAnimation() protected method

Updates the animation for the Expando
protected PerformAnimation ( ) : void
return void

StartAnimation() public method

Starts the Expando collapse/expand animation
public StartAnimation ( ) : void
return void

StopAnimation() public method

Stops the Expando collapse/expand animation
public StopAnimation ( ) : void
return void

Property Details

FadeAnimation public static property

Specifes that a fade animation is to be performed
public static int FadeAnimation
return int

NumAnimationFrames public static property

The number of frames in an animation
public static int NumAnimationFrames
return int

SlideAnimation public static property

Specifes that a slide animation is to be performed
public static int SlideAnimation
return int