Skip to content

AnimatedScreenObject.AnimationStateChangedEventArgs Class

Event args for when the animation state changes

C#
public class AnimatedScreenObject.AnimationStateChangedEventArgs : EventArgs

Inheritance objectEventArgs

AnimationStateChangedEventArgs(AnimationState, AnimationState)

Section titled “AnimationStateChangedEventArgs(AnimationState, AnimationState)”

Creates a new instance of the event args.

C#
public AnimationStateChangedEventArgs(AnimatedScreenObject.AnimationState previousState, AnimatedScreenObject.AnimationState newState)

previousState AnimatedScreenObject.AnimationState
The previous state.

newState AnimatedScreenObject.AnimationState
The new state.

The previous state.

C#
public readonly AnimatedScreenObject.AnimationState PreviousState

The new state.

C#
public readonly AnimatedScreenObject.AnimationState NewState