C# Class ObservableLinq.Demo.Wpf.AnimationManager

Inheritance: System.Windows.DependencyObject
Afficher le fichier Open project: TheFabFab/ObservableLinq Class Usage Examples

Méthodes publiques

Свойство Type Description
AnimationDelayProperty System.Windows.DependencyProperty
IsAnimationRootProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode 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

Méthode 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 méthode

public static GetAnimationDelay ( DependencyObject source ) : double
source System.Windows.DependencyObject
Résultat double

GetIsAnimationRoot() public static méthode

public static GetIsAnimationRoot ( DependencyObject source ) : bool
source System.Windows.DependencyObject
Résultat bool

Pause() public static méthode

public static Pause ( int delayMilliseconds ) : System.Threading.Tasks.Task
delayMilliseconds int
Résultat System.Threading.Tasks.Task

SetAnimationDelay() public static méthode

public static SetAnimationDelay ( DependencyObject target, double value ) : void
target System.Windows.DependencyObject
value double
Résultat void

SetIsAnimationRoot() public static méthode

public static SetIsAnimationRoot ( DependencyObject target, bool value ) : void
target System.Windows.DependencyObject
value bool
Résultat void

StartEntryAnimation() public static méthode

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

StartExitAnimation() public static méthode

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

StartRepositionAnimation() public static méthode

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

Property Details

AnimationDelayProperty public_oe static_oe property

public static DependencyProperty,System.Windows AnimationDelayProperty
Résultat System.Windows.DependencyProperty

IsAnimationRootProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsAnimationRootProperty
Résultat System.Windows.DependencyProperty