C# Class TrakHound_UI.Timeline.Animate

Extender methods for animation, storyboard
Show file Open project: TrakHound/TrakHound-Community

Public Methods

Method Description
AddDouble ( this sb, int durationMs, DependencyObject element, PropertyPath path, double from, double to, IEasingFunction easing = null ) : System.Windows.Media.Animation.Storyboard

Helper to create double animation

AddDoubleKeyFrame ( this sb, int durationMs, DependencyObject element, PropertyPath path, double from, double to ) : System.Windows.Media.Animation.Storyboard

Helper to create double animation based on keyframe

Method Details

AddDouble() public static method

Helper to create double animation
public static AddDouble ( this sb, int durationMs, DependencyObject element, PropertyPath path, double from, double to, IEasingFunction easing = null ) : System.Windows.Media.Animation.Storyboard
sb this
durationMs int
element System.Windows.DependencyObject
path System.Windows.PropertyPath
from double
to double
easing IEasingFunction
return System.Windows.Media.Animation.Storyboard

AddDoubleKeyFrame() public static method

Helper to create double animation based on keyframe
public static AddDoubleKeyFrame ( this sb, int durationMs, DependencyObject element, PropertyPath path, double from, double to ) : System.Windows.Media.Animation.Storyboard
sb this
durationMs int
element System.Windows.DependencyObject
path System.Windows.PropertyPath
from double
to double
return System.Windows.Media.Animation.Storyboard