Table of Contents

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 object

Currently rendered element.

type Transition

Selected transition type.

duration int

Transition duration.

Returns

bool

Returns true if the transition was applied. Otherwise false.