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

Kendo.Mvc.UI.Fluent.ProgressBarBuilder

Defines the fluent API for configuring the Kendo UI ProgressBar

Methods

Value(System.Double)

Sets the initial value of the ProgressBar

Parameters

value System.Double

Number specifying the value

Example (ASPX)

<%= Html.Kendo().ProgressBar()
    .Name("progressBar")
    .Min(100)
    .Max(200)
    .Value(100)
%>

Value(System.Boolean)

Sets the initial value of the ProgressBar

Parameters

value System.Boolean

Pass false to set indeterminate value

Example (ASPX)

<%= Html.Kendo().ProgressBar()
    .Name("progressBar")
    .Min(100)
    .Max(200)
    .Value(false)
%>

Animation(System.Action<Kendo.Mvc.UI.Fluent.ProgressBarAnimationSettingsBuilder>)

Configures the progress animation. Currently only the duration of the animation could be set.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.ProgressBarAnimationSettingsBuilder>

The configurator for the animation setting.

Animation(System.Boolean)

Configures the progress animation. Currently only the duration of the animation could be set.

Parameters

enabled System.Boolean

Enables or disables the animation option.

AriaRole(System.Boolean)

If set to true the ProgressBar will have its role attribute set to progressbar. It will also render its aria-valuemin, aria-valuemax, and aria-valuenow attributes.

Parameters

value System.Boolean

The value for AriaRole

AriaRole

If set to true the ProgressBar will have its role attribute set to progressbar. It will also render its aria-valuemin, aria-valuemax, and aria-valuenow attributes.

ChunkCount(System.Double)

Specifies the number of chunks.

Parameters

value System.Double

The value for ChunkCount

Enable(System.Boolean)

If set to false the widget will be disabled. It will still allow changing the value. The widget is enabled by default.

Parameters

value System.Boolean

The value for Enable

Label(System.String)

The label that would be used as a aria-label for the ProgressBar element. Will be applied only if ariaRole is set to true.

Parameters

value System.String

The value for Label

LabelId(System.String)

The ID of the element that will be used as a label of the ProgressBar. Will be used as a value of the aria-labelledby attribute. Will be applied only if ariaRole is set to true.

Parameters

value System.String

The value for LabelId

Max(System.Double)

The maximum value of the ProgressBar.

Parameters

value System.Double

The value for Max

Min(System.Double)

The minimum value of the ProgressBar.

Parameters

value System.Double

The value for Min

Reverse(System.Boolean)

Specifies if the progress direction will be reversed.

Parameters

value System.Boolean

The value for Reverse

Reverse

Specifies if the progress direction will be reversed.

ShowStatus(System.Boolean)

Specifies if the progress status will be shown.

Parameters

value System.Boolean

The value for ShowStatus

Orientation(Kendo.Mvc.UI.ProgressBarOrientation)

Defines the orientation of the ProgressBar.

Parameters

value Kendo.Mvc.UI.ProgressBarOrientation

The value for Orientation

Type(Kendo.Mvc.UI.ProgressBarType)

Represents the supported progress types

Parameters

value Kendo.Mvc.UI.ProgressBarType

The value for Type

Events(System.Action<Kendo.Mvc.UI.Fluent.ProgressBarEventBuilder>)

Configures the client-side events.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.ProgressBarEventBuilder>

The client events action.

Example (ASPX)

@(Html.Kendo().ProgressBar()
    .Name("ProgressBar")
    .Events(events => events
        .Change("onChange")
    )
)
In this article
Not finding the help you need?