C# Class ObservableLinq.Demo.Wpf.AnimationManager

Inheritance: System.Windows.DependencyObject
Show file Open project: TheFabFab/ObservableLinq Class Usage Examples

Public Properties

Property Type Description
AnimationDelayProperty System.Windows.DependencyProperty
IsAnimationRootProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetAnimationDelay ( DependencyObject source ) : double
GetIsAnimationRoot ( DependencyObject source ) : bool
Pause ( int delayMilliseconds ) : System.Threading.Tasks.Task
SetAnimationDelay ( DependencyObject target, double value ) : void
SetIsAnimationRoot ( DependencyObject target, bool value ) : void
StartEntryAnimation ( FrameworkElement animatedObject, double xDelta = -40, double yDelta = 10 ) : System.Threading.Tasks.Task
StartExitAnimation ( FrameworkElement animatedObject, double xDelta = 60, double yDelta = -20 ) : System.Threading.Tasks.Task
StartRepositionAnimation ( FrameworkElement animatedObject, System.Windows.Vector offset ) : System.Threading.Tasks.Task

Private Methods

Method Description
AnimationDelayPropertyChanged ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
GetAnimationRoot ( DependencyObject source ) : AnimationManagerCore
IsAnimationRootPropertyChanged ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
SetAnimationRoot ( DependencyObject target, AnimationManagerCore value ) : void

Method Details

GetAnimationDelay() public static method

public static GetAnimationDelay ( DependencyObject source ) : double
source System.Windows.DependencyObject
return double

GetIsAnimationRoot() public static method

public static GetIsAnimationRoot ( DependencyObject source ) : bool
source System.Windows.DependencyObject
return bool

Pause() public static method

public static Pause ( int delayMilliseconds ) : System.Threading.Tasks.Task
delayMilliseconds int
return System.Threading.Tasks.Task

SetAnimationDelay() public static method

public static SetAnimationDelay ( DependencyObject target, double value ) : void
target System.Windows.DependencyObject
value double
return void

SetIsAnimationRoot() public static method

public static SetIsAnimationRoot ( DependencyObject target, bool value ) : void
target System.Windows.DependencyObject
value bool
return void

StartEntryAnimation() public static method

public static StartEntryAnimation ( FrameworkElement animatedObject, double xDelta = -40, double yDelta = 10 ) : System.Threading.Tasks.Task
animatedObject System.Windows.FrameworkElement
xDelta double
yDelta double
return System.Threading.Tasks.Task

StartExitAnimation() public static method

public static StartExitAnimation ( FrameworkElement animatedObject, double xDelta = 60, double yDelta = -20 ) : System.Threading.Tasks.Task
animatedObject System.Windows.FrameworkElement
xDelta double
yDelta double
return System.Threading.Tasks.Task

StartRepositionAnimation() public static method

public static StartRepositionAnimation ( FrameworkElement animatedObject, System.Windows.Vector offset ) : System.Threading.Tasks.Task
animatedObject System.Windows.FrameworkElement
offset System.Windows.Vector
return System.Threading.Tasks.Task

Property Details

AnimationDelayProperty public static property

public static DependencyProperty,System.Windows AnimationDelayProperty
return System.Windows.DependencyProperty

IsAnimationRootProperty public static property

public static DependencyProperty,System.Windows IsAnimationRootProperty
return System.Windows.DependencyProperty