Class AnimatorService
- Namespace
- HeBianGu.General.WpfControlLib
- Assembly
- HeBianGu.General.WpfControlLib.dll
public static class AnimatorService
- Inheritance
-
AnimatorService
- Inherited Members
-
Properties
IsAnimationEnabled
public static bool IsAnimationEnabled { get; }
Property Value
- bool
Policy
public static AnimatorService.AnimationsPolicy Policy { get; set; }
Property Value
- AnimatorService.AnimationsPolicy
Methods
AnimatePropertyFromTo(DependencyObject, DependencyProperty, double?, double?, int)
public static void AnimatePropertyFromTo(DependencyObject target, DependencyProperty property, double? fromValue, double? targetValue, int duration)
Parameters
target DependencyObject
property DependencyProperty
fromValue double?
targetValue double?
duration int
AnimatePropertyFromTo(DependencyObject, DependencyProperty, double?, double?, int, EventHandler)
public static void AnimatePropertyFromTo(DependencyObject target, DependencyProperty property, double? fromValue, double? targetValue, int duration, EventHandler animationDone)
Parameters
target DependencyObject
property DependencyProperty
fromValue double?
targetValue double?
duration int
animationDone EventHandler
public static void AnimatePropertyFromTo(DependencyObject target, DependencyProperty property, double? fromValue, double? targetValue, int duration, DoubleAnimation animation, EventHandler animationDone, int startTime)
Parameters
target DependencyObject
property DependencyProperty
fromValue double?
targetValue double?
duration int
animation DoubleAnimation
animationDone EventHandler
startTime int
AnimatePropertyTo(DependencyObject, DependencyProperty, double, int)
public static void AnimatePropertyTo(DependencyObject target, DependencyProperty property, double targetValue, int duration)
Parameters
target DependencyObject
property DependencyProperty
targetValue double
duration int
AnimatePropertyTo(DependencyObject, DependencyProperty, double, int, EventHandler)
public static void AnimatePropertyTo(DependencyObject target, DependencyProperty property, double targetValue, int duration, EventHandler animationDone)
Parameters
target DependencyObject
property DependencyProperty
targetValue double
duration int
animationDone EventHandler
public static void AnimatePropertyTo(DependencyObject target, DependencyProperty property, double targetValue, int duration, DoubleAnimation animation)
Parameters
target DependencyObject
property DependencyProperty
targetValue double
duration int
animation DoubleAnimation
public static void AnimatePropertyTo(DependencyObject target, DependencyProperty property, double targetValue, int duration, DoubleAnimation animation, EventHandler animationDone)
Parameters
target DependencyObject
property DependencyProperty
targetValue double
duration int
animation DoubleAnimation
animationDone EventHandler
public static void AnimatePropertyTo(DependencyObject target, DependencyProperty property, double targetValue, int duration, DoubleAnimation animation, EventHandler animationDone, int startTime)
Parameters
target DependencyObject
property DependencyProperty
targetValue double
duration int
animation DoubleAnimation
animationDone EventHandler
startTime int