Wisej.Web.AnimationEventArgs
Wisej.Web.Animation Properties
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Defines the animation properties.
Creates a new instance of the animation properties.
Int32: Returns or sets the delay before the animation starts in milliseconds. (Default: 0
)
Int32: Returns or sets the duration of the animation in milliseconds. (Default: 0
)
0 = Default. The animation is executed within the duration defined in the animation definition.
String: Returns or sets the animation trigger event. (Default: ""
)
Int32: Returns or sets the frame to keep when the animation ends. (Default: -1
)
-1 = Keeps the default frame as configured in the animation definition.
String: Returns or sets the name of the selected animation. (Default: ""
)
Int32: Returns or sets the number of times to repeat the animation. (Default: 0
)
-1 = Infinite. 0 = Default; the animation is repeated the number of times defined in the animation definition.
Boolean: Returns or sets whether the animation should be executed in reverse order. (Default: False
)
AnimationTiming: Returns or sets the speed curve of an animation. (Default: Default
)
Runs the animation on the connected component immediately.
Wisej.Web.Animation
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides support for animating controls or windows using predefined animations definitions or custom animations in response to certain events.
Initializes a new instance of the Animation class.
Initializes a new instance of the Animation class attached to a IContainer implementation.
Name | Type | Description |
---|---|---|
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
)
Returns a value indicating whether a control can be extended.
Returns: Boolean. true if the control can be extended; otherwise, false.
Removes all animations.
Animation properties.
Returns: Properties. The name of the selected animation.
Throws:
ArgumentNullException control is null.
Fires the End event.
Fires the Start event.
Removes all the animation properties from the control .
Runs the animation of the specified Control immediately. If the control doesn't have a configured animation this method doesn't do anything.
AnimationEventHandler Fired when the animation ends.
AnimationEventHandler Fired when the animation begins.
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
extendee
The control to be extended.
control
The control to get the animation name for.
e
e
control
Control to remove from the Animation extender.
control
The control to animate.
All wisej components implement this interface.
Allows an object to serialize itself.
Default
The animation has the speed defined in the original definition. This is the default.
Ease
The animation has a slow start, then fast, before it ends slowly
EaseIn
The animation has a slow start.
EaseInOut
The animation has both a slow start and a slow end.
EaseOut
The animation has a slow end.
Linear
The animation has the same speed from start to end.
Returns or sets the speed curve of an animation.
sender
The source of the event.
e
A AnimationEventArgs that contains the event data.
Fired when the animation begins.
Fired when the animation ends.
container
An IContainer that represents the container of the Animation extender.