New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Kendo UI CircularProgressBar component

Definition

Constructors

Initializes a new instance of the CircularProgressBar class.

C#
public CircularProgressBar(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
Parameters:viewContextViewContext

The view context

initializerIJavaScriptInitializer

The JavaScriptInitializer

urlGeneratorIUrlGenerator

The URL generator.

Properties

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.

C#
public bool? AriaRole { get; set; }

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

C#
public string CenterTemplate { get; set; }

The handler for the CenterTemplate

C#
public string CenterTemplateHandler { get; set; }

The id for the CenterTemplate

C#
public string CenterTemplateId { get; set; }

The color of the value pointer. Accepts a valid CSS color string, including hex and rgb.

C#
public string Color { get; set; }

The color ranges of the value pointer. The pointer color will be set to the color from the range that contains the current value.

C#
public List<CircularProgressBarColor> Colors { get; set; }

A value indicating whether endloess loading is enabled

C#
public bool? Indeterminate { get; set; }

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.

C#
public string Label { get; set; }

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.

C#
public string LabelId { get; set; }

The opacity of the value pointer.

C#
public double? Opacity { get; set; }

A value indicating how wide will the pointer be

C#
public double? PointerWidth { get; set; }

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".

C#
public string Theme { get; set; }

A value indicating if transition animations should be played.

C#
public bool? Transitions { get; set; }

The component value.

C#
public double? Value { get; set; }

Methods

C#
public override IDictionary<string, object> Serialize()
Returns:

IDictionary<string, object>

Overrides: WidgetBase.Serialize()

Writes the HTML.

C#
protected override void WriteHtml(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter

The HtmlTextWriter.

Overrides: WidgetBase.WriteHtml(HtmlTextWriter)

Writes the initialization script.

C#
public override void WriteInitializationScript(TextWriter writer)
Parameters:writerTextWriter

The TextWriter.

Overrides: WidgetBase.WriteInitializationScript(TextWriter)