Class TransitionAnimationProvider
- Namespace
- Wpf.Ui.Animations
- Assembly
- Wpf.Ui.dll
Provides tools for FrameworkElement animation.
public static class TransitionAnimationProvider
- Inheritance
-
TransitionAnimationProvider
- Inherited Members
Examples
TransitionAnimationProvider.ApplyTransition(MyFrameworkElement, Transition.FadeIn, 500);
Methods
ApplyTransition(object?, Transition, int)
Attempts to apply an animation effect while adding content to the frame.
public static bool ApplyTransition(object? element, Transition type, int duration)
Parameters
element
objectCurrently rendered element.
type
TransitionSelected transition type.
duration
intTransition duration.