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

Kendo UI ProgressBar TagHelper ProgressBarTagHelper class.

Definition

Constructors

Initializes a new instance of the ProgressBarTagHelper class.

C#
public ProgressBarTagHelper(IKendoHtmlGenerator generator)
Parameters:generatorIKendoHtmlGenerator

Properties

Enables or disables the progress animation.

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

The duration of each progress animation in milliseconds.

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

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#
[HtmlAttributeName("progressbar-aria-role")]
public string 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; }

The name of the JavaScript function that will handle the change event. Fired when the value of the ProgressBar has changed. If the progress animation is enabled, the event will be fired after the animation has completed (does not applies to chunk ProgressBar).

C#
public string OnChange { get; set; }

The name of the JavaScript function that will handle the complete event. Fired when the value of the ProgressBar reaches the maximum value.

C#
public string OnComplete { 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; }

The underlying value of the ProgressBar. It should be a number or false. Setting the value to false will set the state of the ProgressBar to indeterminate.

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

Methods

Gets the initialization script.

C#
protected override string GetInitializationScript()
Returns:

string

The initialization script.

Overrides: TagHelperBase.GetInitializationScript()

C#
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Parameters:contextTagHelperContextoutputTagHelperOutputReturns:

Task

Overrides: TagHelper.ProcessAsync(TagHelperContext, TagHelperOutput)

Serializes the defined settings.

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

IDictionary<string, object>

Overrides: TagHelperBase.Serialize()

SerializeEvents method.

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

Dictionary<string, object>

Overrides: TagHelperBase.SerializeEvents()

SerializeSettings method.

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

Dictionary<string, object>

Overrides: TagHelperBase.SerializeSettings()

Writes the HTML output.

C#
protected override void WriteHtml(TagHelperOutput output)
Parameters:outputTagHelperOutput

The TagHelper output.

Overrides: TagHelperBase.WriteHtml(TagHelperOutput)