Property Value
Value
Gets or sets the current position of the progress bar.
public virtual int Value { get; set; }
Property Value
- int
The position within the range of the progress bar. The default is 0.
Remarks
The minimum and maximum values of the Value property are specified by the Minimum and Maximum properties. When the Value property is set, the new value is validated to be between the Minimum and Maximum values.
Exceptions
- ArgumentOutOfRangeException
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.