ProgressBarBuilder
Define the fluent interface for configuring the ProgressBar component.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ProgressBarBuilder : WidgetBuilderBase<ProgressBar, ProgressBarBuilder>, IHtmlString
Inheritance: objectWidgetBuilderBase<ProgressBar, ProgressBarBuilder>ProgressBarBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the ProgressBarBuilder class.
Methods
Configures the animation effects.
public ProgressBarBuilder Animation(Action<ProgressBarAnimationBuilder> animationAction)
The action which configures the animation effects.
Returns:Use to enable or disable the animation.
If the options is added, 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:Sets the number of chunks to which the ProgressBar will be divided (applies only when type is "chunk")
Enables or disables the component
public ProgressBarBuilder Enable(bool value)
true if the component should be enabled, false otherwise; the default is true.
Returns:Configures the client-side events
public ProgressBarBuilder Events(Action<ProgressBarEventBuilder> configurator)
The client events configuration action.
Returns:The label that must be used as an "aria-label" for the ProgressBar element. It will be applied only if the AriaRole() option is enabled.
public ProgressBarBuilder Label(string value)
The value of the label.
Returns:The ID of the element that will be used as a label of the ProgressBar. It will be used as a value of the "aria-labelledby" attribute and will be applied only if the AriaRole() option is enabled.
public ProgressBarBuilder LabelId(string value)
The value for the LabelId option.
Returns:Sets the maximum value of the ProgressBar
public ProgressBarBuilder Max(double value)
Number specifying the maximum value
Returns:Sets the minimum value of the ProgressBar
public ProgressBarBuilder Min(double value)
Number specifying the minimum value
Returns:Sets the orientation of the ProgressBar
public ProgressBarBuilder Orientation(ProgressBarOrientation orientation)
ProgressBarOrientation enumeration specifying the orientation
Returns:Specifies if the ProgressBar direction will be reversed
Specifies if the Progress status will be displayed
Specifies the type of the ProgressBar
public ProgressBarBuilder Type(ProgressBarType type)
ProgressBarType enumeration specifying the type
Returns:Sets the initial value of the ProgressBar
public ProgressBarBuilder Value(bool value)
Pass false to set indeterminate value
Returns:Sets the initial value of the ProgressBar
public ProgressBarBuilder Value(double value)
Number specifying the value
Returns: