Skip to main content
Version: 4.1

Animation

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.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 member Animation()

Initializes a new instance of the Animation class.

Instance member Animation(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 member CustomAnimations

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

Instance member Tag

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

Methods

Instance member CanExtend(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 member Clear()

Removes all animations.

Protected member Dispose(disposing)

ParameterTypeDescription
disposingBoolean

Instance member GetAnimation(control)

Animation properties.

ParameterTypeDescription
controlControlThe control to get the animation name for.

Returns: Properties. The name of the selected animation.

Throws:

Instance member OnEnd(e)

Fires the End event.

ParameterTypeDescription
eAnimationEventArgs

Instance member OnStart(e)

Fires the Start event.

ParameterTypeDescription
eAnimationEventArgs

Protected member OnWebEvent(e)

Processes the event from the client.

ParameterTypeDescription
eWisejEventArgsEvent arguments.

Protected member OnWebRender(config)

Renders the client component.

ParameterTypeDescription
configObjectDynamic configuration object.

Instance member ResetAnimation(control)

Removes all the animation properties from the control .

ParameterTypeDescription
controlControlControl to remove from the Animation extender.

Instance member Run(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 member End

AnimationEventHandler Fired when the animation ends.

Instance member Start

AnimationEventHandler Fired when the animation begins.

Implements

NameDescription
IUserDataProvides access to the UserData and Tag properties associated to the component implementing this interface.
IWisejComponentAll wisej components implement this interface.
IWisejSerializableAllows an object to serialize itself.