ProgressBar
Kendo UI ProgressBar component
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class ProgressBar : WidgetBase, IHtmlAttributesContainer
Inheritance: objectWidgetBaseProgressBar
Implements:
Inherited Members
Constructors
Initializes a new instance of the ProgressBar class.
Properties
Configures the progress animation. Currently only the duration of the animation could be set.
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.
public bool? AriaRole { get; set; }
Specifies the number of chunks.
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.
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.
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.
public string LabelId { get; set; }
Defines the orientation of the ProgressBar.
public ProgressBarOrientation? Orientation { get; set; }
Specifies if the progress direction will be reversed.
public bool? Reverse { get; set; }
Specifies if the progress status will be shown.
public bool? ShowStatus { get; set; }
Represents the supported progress types
public ProgressBarType? Type { get; set; }
Methods
Serializes the component settings to a dictionary.
public override IDictionary<string, object> Serialize()
A dictionary of settings.
Overrides:
SerializeSettings method.
protected override Dictionary<string, object> SerializeSettings()
Overrides:
Writes the HTML content.
protected override void WriteHtml(TextWriter writer)
The text writer.
Overrides:
WriteInitializationScript method.
public override void WriteInitializationScript(TextWriter writer)
Overrides: