C# Класс System.Windows.Media.Glitz.AnimationEffect

Represents an animation that can be associated with an element.
Наследование: System.Windows.FrameworkElement, IAttachedObject, IProceduralAnimationFactory
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
IAttachedObject void
IAttachedObject void
IProceduralAnimationFactory ProceduralAnimation
OnAnimationStopped void

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

Метод Описание
PlayEffect ( AnimationEffectDirection direction ) : void

Indicates that the effect should start playing.

StopEffect ( ) : void

Indicates that the effect should complete itself now and stop.

Защищенные методы

Метод Описание
AnimationEffect ( ) : System

Initializes an AnimationEffect instance.

CreateEffectAnimation ( AnimationEffectDirection direction ) : ProceduralAnimation

Creates the animation representing the effect.

GetEffectiveInterpolation ( ) : TweenInterpolation

Gets the effective interpolation to use for animations created by the effect.

GetTarget ( ) : FrameworkElement

Gets the target of the effect. This resolves the TargetName property value into an actual object if one has been specified.

OnAttach ( ) : void
OnCompleted ( ) : void

Indicates that the effect has completed playing.

OnDetach ( ) : void
OnStarting ( ) : void

Indicates that the effect is about to be played.

Приватные методы

Метод Описание
IAttachedObject ( ) : void
IAttachedObject ( DependencyObject associatedObject ) : void
IProceduralAnimationFactory ( ) : ProceduralAnimation
OnAnimationStopped ( object sender, EventArgs e ) : void

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

AnimationEffect() защищенный Метод

Initializes an AnimationEffect instance.
protected AnimationEffect ( ) : System
Результат System

CreateEffectAnimation() защищенный абстрактный Метод

Creates the animation representing the effect.
protected abstract CreateEffectAnimation ( AnimationEffectDirection direction ) : ProceduralAnimation
direction AnimationEffectDirection The direction of the animation.
Результат ProceduralAnimation

GetEffectiveInterpolation() защищенный Метод

Gets the effective interpolation to use for animations created by the effect.
protected GetEffectiveInterpolation ( ) : TweenInterpolation
Результат TweenInterpolation

GetTarget() защищенный Метод

Gets the target of the effect. This resolves the TargetName property value into an actual object if one has been specified.
protected GetTarget ( ) : FrameworkElement
Результат System.Windows.FrameworkElement

OnAttach() защищенный Метод

protected OnAttach ( ) : void
Результат void

OnCompleted() защищенный Метод

Indicates that the effect has completed playing.
protected OnCompleted ( ) : void
Результат void

OnDetach() защищенный Метод

protected OnDetach ( ) : void
Результат void

OnStarting() защищенный Метод

Indicates that the effect is about to be played.
protected OnStarting ( ) : void
Результат void

PlayEffect() публичный Метод

Indicates that the effect should start playing.
public PlayEffect ( AnimationEffectDirection direction ) : void
direction AnimationEffectDirection Indicates whether to play the direction in forward direction or reverse direction.
Результат void

StopEffect() публичный Метод

Indicates that the effect should complete itself now and stop.
public StopEffect ( ) : void
Результат void