C# Класс ZoomAndPan.AnimationHelper

A helper class to simplify animation.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CancelAnimation ( UIElement animatableElement, DependencyProperty dependencyProperty ) : void

Cancel any animations that are running on the specified dependency property.

StartAnimation ( UIElement animatableElement, DependencyProperty dependencyProperty, double toValue, double animationDurationSeconds ) : void

Starts an animation to a particular value on the specified dependency property.

StartAnimation ( UIElement animatableElement, DependencyProperty dependencyProperty, double toValue, double animationDurationSeconds, EventHandler completedEvent ) : void

Starts an animation to a particular value on the specified dependency property. You can pass in an event handler to call when the animation has completed.

Описание методов

CancelAnimation() публичный статический Метод

Cancel any animations that are running on the specified dependency property.
public static CancelAnimation ( UIElement animatableElement, DependencyProperty dependencyProperty ) : void
animatableElement System.Windows.UIElement
dependencyProperty System.Windows.DependencyProperty
Результат void

StartAnimation() публичный статический Метод

Starts an animation to a particular value on the specified dependency property.
public static StartAnimation ( UIElement animatableElement, DependencyProperty dependencyProperty, double toValue, double animationDurationSeconds ) : void
animatableElement System.Windows.UIElement
dependencyProperty System.Windows.DependencyProperty
toValue double
animationDurationSeconds double
Результат void

StartAnimation() публичный статический Метод

Starts an animation to a particular value on the specified dependency property. You can pass in an event handler to call when the animation has completed.
public static StartAnimation ( UIElement animatableElement, DependencyProperty dependencyProperty, double toValue, double animationDurationSeconds, EventHandler completedEvent ) : void
animatableElement System.Windows.UIElement
dependencyProperty System.Windows.DependencyProperty
toValue double
animationDurationSeconds double
completedEvent EventHandler
Результат void