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

Kendo UI ProgressBar component

Definition

Constructors

Initializes a new instance of the ProgressBar class.

C#
public ProgressBar(ViewContext viewContext)
Parameters:viewContextViewContext

Properties

Configures the progress animation. Currently only the duration of the animation could be set.

C#
public ProgressBarAnimationSettings Animation { get; }

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.

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

Specifies the number of chunks.

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

If set to false the widget will be disabled. It will still allow changing the value. The widget is enabled by default.

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

The label that would be used as a aria-label for the 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 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 maximum value of the ProgressBar.

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

The minimum value of the ProgressBar.

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

Defines the orientation of the ProgressBar.

C#
public ProgressBarOrientation? Orientation { get; set; }

Specifies if the progress direction will be reversed.

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

Specifies if the progress status will be shown.

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

Represents the supported progress types

C#
public ProgressBarType? Type { get; set; }

Gets or sets the current value of the ProgressBar

C#
public object Value { get; set; }

Methods

Serializes the component settings to a dictionary.

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

IDictionary<string, object>

A dictionary of settings.

Overrides: WidgetBase.Serialize()

SerializeSettings method.

C#
protected override Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>

Overrides: WidgetBase.SerializeSettings()

Writes the HTML content.

C#
protected override void WriteHtml(TextWriter writer)
Parameters:writerTextWriter

The text writer.

Overrides: WidgetBase.WriteHtml(TextWriter)

WriteInitializationScript method.

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

Overrides: WidgetBase.WriteInitializationScript(TextWriter)