C# Class System.Windows.Media.Glitz.ProceduralAnimationController

This class manages the set of active animations and is responsible for scheduling them, and executing them from start to finish.
ファイルを表示 Open project: nikhilk/silverlightfx Class Usage Examples

Public Methods

Method Description
Play ( ProceduralAnimation animation, FrameworkElement associatedElement ) : ProceduralAnimationController
ProceduralAnimationController ( FrameworkElement fe ) : System

Initializes an instance of an AnimationController applying to the specified FrameworkElement.

Stop ( ProceduralAnimation animation, ProceduralAnimationStopState stopState ) : void

Private Methods

Method Description
GetAnimationController ( FrameworkElement fe ) : ProceduralAnimationController
OnStoryboardCompleted ( object sender, EventArgs e ) : void
PlayCore ( ProceduralAnimation animation ) : void
StopCore ( ProceduralAnimation animation, ProceduralAnimationStopState stopState ) : void

Method Details

Play() public static method

public static Play ( ProceduralAnimation animation, FrameworkElement associatedElement ) : ProceduralAnimationController
animation ProceduralAnimation
associatedElement System.Windows.FrameworkElement
return ProceduralAnimationController

ProceduralAnimationController() public method

Initializes an instance of an AnimationController applying to the specified FrameworkElement.
public ProceduralAnimationController ( FrameworkElement fe ) : System
fe System.Windows.FrameworkElement The associated FrameworkElement.
return System

Stop() public static method

public static Stop ( ProceduralAnimation animation, ProceduralAnimationStopState stopState ) : void
animation ProceduralAnimation
stopState ProceduralAnimationStopState
return void