System.Windows.Forms.ProgressBar.Value Property

Gets or sets the current position of the progress bar.

Syntax

[System.ComponentModel.DefaultValue(0)]
[System.ComponentModel.Bindable(true)]
public int Value { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The minimum and maximum values of the ProgressBar.Value property are specified by the ProgressBar.Minimum and ProgressBar.Maximum properties. This property enables you to increment or decrement the value of the progress bar directly. To perform consistent increases in the value of the System.Windows.Forms.ProgressBar control you can use the ProgressBar.Step property with the ProgressBar.PerformStep method. To increase the progress bar value by varying amounts, use the ProgressBar.Increment(int) method.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0