Defines the fluent API for configuring the Kendo UI CircularProgressBar
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class CircularProgressBarBuilder : WidgetBuilderBase<CircularProgressBar, CircularProgressBarBuilder>, IHtmlContent
Inheritance: objectHelperResultWidgetBuilderBase<CircularProgressBar, CircularProgressBarBuilder>CircularProgressBarBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the CircularProgressBarBuilder class.
public CircularProgressBarBuilder(CircularProgressBar 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()
Returns the current CircularProgressBarBuilder instance.
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 for AriaRole
Returns:Returns the current CircularProgressBarBuilder instance.
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 for CenterTemplate
Returns:Returns the current CircularProgressBarBuilder instance.
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:Returns the current CircularProgressBarBuilder instance.
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 templateHandler)
The handler that returs the template for CenterTemplate
Returns:Returns the current CircularProgressBarBuilder instance.
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 templateId)
The ID of the template element for CenterTemplate
Returns:Returns the current CircularProgressBarBuilder instance.
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(IHtmlContent templateView)
The view that contains the template for CenterTemplate
Returns:Returns the current CircularProgressBarBuilder instance.
The color of the value pointer. Accepts a valid CSS color string, including hex and rgb.
public CircularProgressBarBuilder Color(string value)
The value for Color
Returns:Returns the current CircularProgressBarBuilder instance.
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 CircularProgressBarColorFactory for the colors setting.
Returns:Returns the current instance of CircularProgressBarBuilder .
A value indicating whether endloess loading is enabled
public CircularProgressBarBuilder Indeterminate(bool value)
The value for Indeterminate
Returns:Returns the current CircularProgressBarBuilder instance.
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 for Label
Returns:Returns the current CircularProgressBarBuilder instance.
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 for LabelId
Returns:Returns the current CircularProgressBarBuilder instance.
The opacity of the value pointer.
public CircularProgressBarBuilder Opacity(double value)
The value for Opacity
Returns:Returns the current CircularProgressBarBuilder instance.
A value indicating how wide will the pointer be
public CircularProgressBarBuilder PointerWidth(double value)
The value for PointerWidth
Returns:Returns the current CircularProgressBarBuilder instance.
The circularProgressBar theme. With versions prior to R1 2023 this can be either the respective LESS theme from the list below or "sass". When set to "sass" the circularProgressBar will read the variables from the Sass-based themes.Note: Since Q2 2024 release, the default value for the theme property is "sass" instead of "default". It is recommended to use "sass" with version Q2 2024 or later.The supported values are: "sass"; "black"; "blueopal"; "bootstrap"; "default"; "highcontrast"; "metro"; "metroblack"; "moonlight"; "silver" or "uniform".
public CircularProgressBarBuilder Theme(string value)
The value for Theme
Returns:Returns the current CircularProgressBarBuilder instance.
A value indicating if transition animations should be played.
public CircularProgressBarBuilder Transitions(bool value)
The value for Transitions
Returns:Returns the current CircularProgressBarBuilder instance.
The component value.
public CircularProgressBarBuilder Value(double value)
The value for Value
Returns:Returns the current CircularProgressBarBuilder instance.