Skip to main content
Version: 4.1

ProgressBar

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

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

public class ProgressBar : Control

Constructors​

Instance member ProgressBar()​

Initializes a new instance of the ProgressBar class.

Instance member ProgressBar(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 member BarColor​

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

Instance member BorderStyle​

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

Protected member DefaultSize​

Size: Returns the default size of the control.

Instance member Maximum​

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

Throws:

Instance member Minimum​

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

Throws:

Instance member Step​

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 member Value​

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 member Increment(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.

Protected member OnWebRender(config)​

Renders the client component.

ParameterTypeDescription
configObjectDynamic configuration object.

Instance member PerformStep()​

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

Implements​

NameDescription
IUserDataProvides access to the UserData and Tag properties associated to the component implementing this interface.
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.