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

Defines the fluent API for configuring the CircularProgressBarColor settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class CircularProgressBarColorBuilder

Inheritance: objectCircularProgressBarColorBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public CircularProgressBarColorBuilder(CircularProgressBarColor settings)
Parameters:settingsCircularProgressBarColor

The CircularProgressBarColor

Methods

The color of the pointer in the specified range.

C#
public CircularProgressBarColorBuilder Color(string value)
Parameters:valuestring

The value that configures the color.

Returns:

CircularProgressBarColorBuilder

Example:
C#
@(Html.Kendo().CircularProgressBar()
.Name("progressbar")
.Color("green")
)

The lower range value of the applied color.

C#
public CircularProgressBarColorBuilder From(double value)
Parameters:valuedouble

The value that configures the from.

Returns:

CircularProgressBarColorBuilder

Example:
C#
@(Html.Kendo().CircularProgressBar()
.Name("progressbar")
.Color("green").Colors(c => c.Add().From(20))
)

The upper range value of the applied color.

C#
public CircularProgressBarColorBuilder To(double value)
Parameters:valuedouble

The value that configures the to.

Returns:

CircularProgressBarColorBuilder

Example:
C#
@(Html.Kendo().CircularProgressBar()
.Name("progressbar")
.Color("green").Colors(c => c.Add().To(20))
)