Animation

Wisej.Web.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

Initializes a new instance of the Animation class.

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

NameTypeDescription

container

An IContainer that represents the container of the Animation extender.

Properties

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

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

Methods

Returns a value indicating whether a control can be extended.

ParameterTypeDescription

extendee

The control to be extended.

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

Removes all animations.

Animation properties.

ParameterTypeDescription

control

The control to get the animation name for.

Returns: Properties. The name of the selected animation.

Throws:

Fires the End event.

ParameterTypeDescription

e

Fires the Start event.

ParameterTypeDescription

e

Removes all the animation properties from the control .

ParameterTypeDescription

control

Control to remove from the Animation extender.

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

ParameterTypeDescription

control

The control to animate.

Events

AnimationEventHandler Fired when the animation ends.

AnimationEventHandler Fired when the animation begins.

Implements

NameDescription

All wisej components implement this interface.

Allows an object to serialize itself.

Last updated