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

Defines the fluent API for configuring ProgressBarAnimationSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ProgressBarAnimationSettingsBuilder

Inheritance: objectProgressBarAnimationSettingsBuilder

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

Constructors

ProgressBarAnimationSettingsBuilder method.

C#
public ProgressBarAnimationSettingsBuilder(ProgressBarAnimationSettings container)
Parameters:containerProgressBarAnimationSettings

Properties

Gets the settings being configured.

C#
protected ProgressBarAnimationSettings Container { get; }

Methods

The duration of each progress animation in milliseconds.

C#
public ProgressBarAnimationSettingsBuilder Duration(double value)
Parameters:valuedouble

The value for Duration

Returns:

ProgressBarAnimationSettingsBuilder

Returns the current ProgressBarAnimationSettingsBuilder instance.

Enables or disables the progress animation

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

The boolean value

Returns:

ProgressBarAnimationSettingsBuilder

Returns the current ProgressBarAnimationSettingsBuilder instance.

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