Defines the fluent API for configuring the Kendo CircularProgressBar for ASP.NET MVC.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class CircularProgressBarBuilder : WidgetBuilderBase<CircularProgressBar, CircularProgressBarBuilder>, IHtmlString
Inheritance: objectWidgetBuilderBase<CircularProgressBar, CircularProgressBarBuilder>CircularProgressBarBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the CircularProgressBar class.
public CircularProgressBarBuilder(CircularProgressBar component)
The component.
Methods
If set to true the Circular ProgressBar will have its role attribute set to progressbar. It will also render its aria-valuemin, aria-valuemax, and aria-valuenow attributes.
public CircularProgressBarBuilder AriaRole(bool value)
The value that configures the ariarole.
Returns:The template that will be displayed in the center of the progress bar. Template variables: * value - the value * color - the matching color for the value
public CircularProgressBarBuilder CenterTemplate(string value)
The value that configures the centertemplate.
Returns:The template that will be displayed in the center of the progress bar. Template variables: * value - the value * color - the matching color for the value
public CircularProgressBarBuilder CenterTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the centertemplate.
Returns:The template that will be displayed in the center of the progress bar. Template variables: * value - the value * color - the matching color for the value
public CircularProgressBarBuilder CenterTemplateHandler(string value)
The value that configures the centertemplate.
Returns:The template that will be displayed in the center of the progress bar. Template variables: * value - the value * color - the matching color for the value
public CircularProgressBarBuilder CenterTemplateId(string value)
The value that configures the centertemplate.
Returns:The template that will be displayed in the center of the progress bar. Template variables: * value - the value * color - the matching color for the value
public CircularProgressBarBuilder CenterTemplateView(MvcHtmlString value)
The value that configures the centertemplate.
Returns:The color of the value pointer. Accepts a valid CSS color string, including hex and rgb.
public CircularProgressBarBuilder Color(string value)
The value that configures the color.
Returns:The color ranges of the value pointer. The pointer color will be set to the color from the range that contains the current value.
public CircularProgressBarBuilder Colors(Action<CircularProgressBarColorFactory> configurator)
The action that configures the colors.
Returns:A value indicating whether endloess loading is enabled
public CircularProgressBarBuilder Indeterminate(bool value)
The value that configures the indeterminate.
Returns:The label that would be used as a aria-label for the Circular ProgressBar element. Will be applied only if ariaRole is set to true.
public CircularProgressBarBuilder Label(string value)
The value that configures the label.
Returns:The ID of the element that will be used as a label of the Circular ProgressBar. Will be used as a value of the aria-labelledby attribute. Will be applied only if ariaRole is set to true.
public CircularProgressBarBuilder LabelId(string value)
The value that configures the labelid.
Returns:The opacity of the value pointer.
public CircularProgressBarBuilder Opacity(double value)
The value that configures the opacity.
Returns:A value indicating how wide will the pointer be
public CircularProgressBarBuilder PointerWidth(double value)
The value that configures the pointerwidth.
Returns:The gauge theme. This can be either a built-in theme or "sass". When set to "sass" the gauge will read the variables from the Sass-based themes.The supported values are: "sass" - special value, see notes; "black"; "blueopal"; "bootstrap"; "default"; "highcontrast"; "metro"; "metroblack"; "moonlight"; "silver" or "uniform".
public CircularProgressBarBuilder Theme(string value)
The value that configures the theme.
Returns:A value indicating if transition animations should be played.
public CircularProgressBarBuilder Transitions(bool value)
The value that configures the transitions.
Returns:The component value.
public CircularProgressBarBuilder Value(double value)
The value that configures the value.
Returns: