C# Class WinRTXamlToolkit.Controls.DataVisualization.Charting.DependencyPropertyAnimationHelper

Represents a control that can animate the transitions between its specified dependency property.
Mostrar archivo Open project: xyzzer/WinRTXamlToolkit Class Usage Examples

Public Methods

Method Description
BeginAnimation ( this target, DependencyProperty animatingDependencyProperty, string propertyPath, object targetValue, System.TimeSpan timeSpan, EasingFunctionBase easingFunction ) : void

Starts animating a dependency property of a framework element to a target value.

Private Methods

Method Description
CreateStoryboard ( FrameworkElement target, DependencyProperty animatingDependencyProperty, string propertyPath, object &toValue, System.TimeSpan durationTimeSpan, EasingFunctionBase easingFunction ) : Storyboard
GetStoryboardKey ( string propertyPath ) : string

Returns a unique key for a storyboard.

Method Details

BeginAnimation() public static method

Starts animating a dependency property of a framework element to a target value.
public static BeginAnimation ( this target, DependencyProperty animatingDependencyProperty, string propertyPath, object targetValue, System.TimeSpan timeSpan, EasingFunctionBase easingFunction ) : void
target this The element to animate.
animatingDependencyProperty Windows.UI.Xaml.DependencyProperty The dependency property to /// animate.
propertyPath string The path of the dependency property to /// animate.
targetValue object The value to animate the dependency /// property to.
timeSpan System.TimeSpan The duration of the animation.
easingFunction Windows.UI.Xaml.Media.Animation.EasingFunctionBase The easing function to uses to /// transition the data points.
return void