ProgressBar
Namespace: Wisej.Web.Ext.Syncfusion2
Assembly: Wisej.Web.Ext.Syncfusion2 (4.1.0.0)
The progress bar provides a customizable visual to indicate the progress of a task with different shape such as rectangle and circle.
- C#
- VB.NET
public class ProgressBar : ej2Base
Public Class ProgressBar
Inherits ej2Base
Constructors
ProgressBar()
Constructs a new instance of the ProgressBar class.
Example:
The following example creates a linear progress bar and then updates its value through the Options object.
var progressBar = new ProgressBar();
progressBar.Options.type = "Linear";
progressBar.Options.value = 0;
this.Controls.Add(progressBar);
// later, when part of the task is complete.
progressBar.Options.value = 60;
ProgressBar(options)
Constructs a new instance of the ProgressBar class.
| Name | Type | Description |
|---|---|---|
| options | Object | Initial set of options. |
Example:
The following example creates a circular progress bar that shows the percentage of the progress.
var progressBar = new ProgressBar(new
{
type = "Circular",
minimum = 0,
maximum = 100,
value = 35,
showProgressValue = true,
animation = new { enable = true, duration = 1000 }
});
progressBar.Size = new Size(160, 160);
this.Controls.Add(progressBar);