Skip to main content
Version: 3.5

Animation

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Provides support for animating controls or windows using predefined animations definitions or custom animations in response to certain events.

public class Animation : Component, IExtenderProvider

Constructors​

Instance memberAnimation()​

Initializes a new instance of the Animation class.

Instance memberAnimation(container)​

Initializes a new instance of the Animation class attached to a IContainer implementation.

NameTypeDescription
containerIContainerAn IContainer that represents the container of the Animation extender.

Properties​

Instance memberCustomAnimations​

List<String>: Manages a collection of used defined animation definitions.

Instance memberTag​

Object: Returns or sets the object that contains programmer-supplied data associated with this component. (Default: null)

Methods​

Instance memberCanExtend(extendee)​

Returns a value indicating whether a control can be extended.

ParameterTypeDescription
extendeeObjectThe control to be extended.

Returns: Boolean. true if the control can be extended; otherwise, false.

Instance memberClear()​

Removes all animations.

Instance memberGetAnimation(control)​

Animation properties.

ParameterTypeDescription
controlControlThe control to get the animation name for.

Returns: Properties. The name of the selected animation.

Throws:

Instance memberOnEnd(e)​

Fires the End event.

ParameterTypeDescription
eAnimationEventArgs

Instance memberOnStart(e)​

Fires the Start event.

ParameterTypeDescription
eAnimationEventArgs

Instance memberResetAnimation(control)​

Removes all the animation properties from the control .

ParameterTypeDescription
controlControlControl to remove from the Animation extender.

Instance memberRun(control)​

Runs the animation of the specified Control immediately. If the control doesn't have a configured animation this method doesn't do anything.

ParameterTypeDescription
controlControlThe control to animate.

Events​

Instance memberEnd​

AnimationEventHandler Fired when the animation ends.

Instance memberStart​

AnimationEventHandler Fired when the animation begins.

Implements​

NameDescription
IWisejComponentAll wisej components implement this interface.
IWisejSerializableAllows an object to serialize itself.