ProgressBarBuilder
Defines the fluent API for configuring the Kendo UI ProgressBar
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ProgressBarBuilder : WidgetBuilderBase<ProgressBar, ProgressBarBuilder>, IHtmlContent
Inheritance: objectHelperResultWidgetBuilderBase<ProgressBar, ProgressBarBuilder>ProgressBarBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the ProgressBarBuilder class.
Methods
Configures the progress animation. Currently only the duration of the animation could be set.
public ProgressBarBuilder Animation(Action<ProgressBarAnimationSettingsBuilder> configurator)
The ProgressBarAnimationSettingsBuilder for the animation setting.
Returns:Returns the current instance of ProgressBarBuilder .
Configures the progress animation. Currently only the duration of the animation could be set.
public ProgressBarBuilder Animation(bool enabled)
Enables or disables the animation option.
Returns:Returns the current instance of ProgressBarAnimationSettingsBuilder .
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.
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.
public ProgressBarBuilder AriaRole(bool value)
The value for AriaRole
Returns:Returns the current ProgressBarBuilder instance.
Specifies the number of chunks.
public ProgressBarBuilder ChunkCount(double value)
The value for ChunkCount
Returns:Returns the current ProgressBarBuilder instance.
If set to false the widget will be disabled. It will still allow changing the value. The widget is enabled by default.
public ProgressBarBuilder Enable(bool value)
The value for Enable
Returns:Returns the current ProgressBarBuilder instance.
Configures the client-side events.
public ProgressBarBuilder Events(Action<ProgressBarEventBuilder> configurator)
The client events action.
Returns:Returns the current ProgressBarBuilder instance.
The label that would be used as a aria-label for the ProgressBar element. Will be applied only if ariaRole is set to true.
public ProgressBarBuilder Label(string value)
The value for Label
Returns:Returns the current ProgressBarBuilder instance.
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.
public ProgressBarBuilder LabelId(string value)
The value for LabelId
Returns:Returns the current ProgressBarBuilder instance.
The maximum value of the ProgressBar.
public ProgressBarBuilder Max(double value)
The value for Max
Returns:Returns the current ProgressBarBuilder instance.
The minimum value of the ProgressBar.
public ProgressBarBuilder Min(double value)
The value for Min
Returns:Returns the current ProgressBarBuilder instance.
Defines the orientation of the ProgressBar.
public ProgressBarBuilder Orientation(ProgressBarOrientation value)
The value for Orientation
Returns:Returns the current ProgressBarBuilder instance.
Specifies if the progress direction will be reversed.
Specifies if the progress direction will be reversed.
public ProgressBarBuilder Reverse(bool value)
The value for Reverse
Returns:Returns the current ProgressBarBuilder instance.
Specifies if the progress status will be shown.
public ProgressBarBuilder ShowStatus(bool value)
The value for ShowStatus
Returns:Returns the current ProgressBarBuilder instance.
Represents the supported progress types
public ProgressBarBuilder Type(ProgressBarType value)
The value for Type
Returns:Returns the current ProgressBarBuilder instance.
Sets the initial value of the ProgressBar
public ProgressBarBuilder Value(bool value)
Pass false to set indeterminate value
Returns:Returns the current ProgressBarBuilder instance.
Sets the initial value of the ProgressBar
public ProgressBarBuilder Value(double value)
Number specifying the value
Returns:Returns the current ProgressBarBuilder instance.