Skip to main content
Version: 3.5

ProgressBar

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Represents a progress control that displays a value visually as a filled bar.

public class ProgressBar : Control

Constructors

Instance memberProgressBar()

Initializes a new instance of the ProgressBar class.

Instance memberProgressBar(location, size)

Initializes a new instance of the ProgressBar class with the specified settings. Sets the Location and Size properties based on the provided parameters.

NameTypeDescription
locationPointThe location of the progress bar on its parent control.
sizeSizeThe size of the progress bar.

Properties

Instance memberBarColor

Color: Returns or sets the color of the progress bar portion.

Instance memberBorderStyle

BorderStyle: Indicates the border style for the control. (Default: None)

Instance memberMaximum

Int32: Returns or sets the maximum value of the range of the control. (Default: 100)

Throws:

Instance memberMinimum

Int32: Returns or sets the minimum value of the range of the control. (Default: 0)

Throws:

Instance memberStep

Int32: Returns or sets the amount by which a call to the PerformStep method increases the current position of the progress bar. (Default: 10)

Instance memberValue

Int32: Returns or sets the current position of the progress bar. (Default: 0)

Throws:

  • ArgumentException The value specified is greater than the value of the Maximum property; or the value specified is less than the value of the Minimum property.

Methods

Instance memberIncrement(value)

Advances the current position of the progress bar by the specified amount.

ParameterTypeDescription
valueInt32The amount by which to increment the progress bar's current position.

Instance memberPerformStep()

Advances the current position of the progress bar by the amount of the Step property.

Implements

NameDescription
IBindableComponentBindable components implement this interface.
IDropTargetControls that support drag & drop operations implement this interface.
IWisejComponentAll wisej components implement this interface.
IWisejControlAll wisej controls derived from the Control class must implement this interface.
IWisejSerializableAllows an object to serialize itself.