Skip to main content

dxProgressBar

Namespace: Wisej.Web.Ext.DevExtreme

Assembly: Wisej.Web.Ext.DevExtreme (4.1.0.0)

The ProgressBar is a widget that shows current progress.

public class dxProgressBar : dxBase

Constructors​

Instance member 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;

Instance member dxProgressBar(options)​

Constructs a new instance of the dxProgressBar class.

NameTypeDescription
optionsObjectInitial 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);

Implements​