ProgressBar
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class ProgressBar : WidgetBase, IWidget, IHtmlAttributesContainer, IScriptableComponent
Inheritance: objectWidgetBaseProgressBar
Implements:
Inherited Members
Constructors
Initializes a new instance of the ProgressBar class.
public ProgressBar(ViewContext viewContext, IJavaScriptInitializer initializer)
The view context.
initializerIJavaScriptInitializerThe javascript initializer.
Properties
Defines the ProgressBar animation
public ProgressBarAnimation 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; }
Gets or sets the number of chunks when the type of the Progressbar is set to "chunk"
public int? ChunkCount { get; set; }
Gets or sets a value indicating whether the component is enabled
public bool Enable { get; set; }
true if the component should be enabled, false otherwise; the default is true.
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; }
Gets or sets the orientation of the ProgressBar
public ProgressBarOrientation? Orientation { get; set; }
Specifies if the progress direction should be reversed
public bool Reverse { get; set; }
Specifies if the progress status should be displayed
public bool ShowStatus { get; set; }
Gets or sets the type of the ProgressBar
public ProgressBarType? Type { get; set; }
Methods
public override IDictionary<string, object> Serialize()
Overrides:
Writes the ProgressBar HTML.
protected override void WriteHtml(HtmlTextWriter writer)
The writer object.
Overrides:
Writes the initialization script
public override void WriteInitializationScript(TextWriter writer)
The writer object.
Overrides: