dxProgressBar
Namespace: Wisej.Web.Ext.DevExtreme
Assembly: Wisej.Web.Ext.DevExtreme (4.1.0.0)
The ProgressBar is a widget that shows current progress.
- C#
- VB.NET
public class dxProgressBar : dxBase
Public Class dxProgressBar
Inherits dxBase
Constructors
dxProgressBar()
Constructs a new instance of the dxProgressBar class.
Example:
The following example creates a progress bar and later advances it by changing the value option.
var progress = new dxProgressBar();
progress.Options.min = 0;
progress.Options.max = 100;
progress.Options.value = 0;
progress.Size = new Size(300, 40);
this.Controls.Add(progress);
// report the progress of the operation.
progress.Options.value = 45;
dxProgressBar(options)
Constructs a new instance of the dxProgressBar class.
| Name | Type | Description |
|---|---|---|
| options | Object | Initial set of options. |
Example:
The following example creates a progress bar that counts the processed files and hides the status text.
var progress = new dxProgressBar(new
{
min = 0,
max = files.Count,
value = 0,
showStatus = false
});
progress.Size = new Size(300, 20);
this.Controls.Add(progress);