New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Encapsulates client animation configuration (effect type and duration) for RadRotator. Serialized to the client only when an explicit value is set.

Definition

Namespace:Telerik.Web.UI.Rotator

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class AnimationSettings : ObjectWithState

Inheritance: objectObjectWithStateAnimationSettings

Inherited Members object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

Initializes a new instance of the AnimationSettings class.

C#
public AnimationSettings(string keyPrefix, StateBag ownerViewState)
Parameters:keyPrefixstring

A unique key prefix used for ViewState storage.

ownerViewStateStateBag

The owning control's StateBag.

Properties

Gets or sets the animation duration in milliseconds.

C#
public int Duration { get; set; }

Gets or sets the effect that will be used for the animation.

C#
public AnimationType Type { get; set; }