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

Defines the fluent API for configuring the ProgressBarAnimation object.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ProgressBarAnimationBuilder

Inheritance: objectProgressBarAnimationBuilder

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

Constructors

C#
public ProgressBarAnimationBuilder(ProgressBarAnimation animation)
Parameters:animationProgressBarAnimation

Properties

C#
protected ProgressBarAnimation Animation { get; }

Methods

Specifies the duration of the progress animation

C#
public ProgressBarAnimationBuilder Duration(int value)
Parameters:valueint

The duration value

Returns:

ProgressBarAnimationBuilder

Example:
C#
@( Html.Kendo().ProgressBar()
.Name("progressBar")
.Animation(a => a.Duration(200))
)

Enables or disables the progress animation

C#
public ProgressBarAnimationBuilder Enable(bool enable)
Parameters:enablebool

The boolean value

Returns:

ProgressBarAnimationBuilder

Example:
C#
@( Html.Kendo().ProgressBar()
.Name("progressBar")
.Animation(a => a.Enable(false))
)