public int Maximum { get; set; }Public Property Maximum As Integer
Get
SetThis property specifies the upper limit of the Value property. When the value of the Maximum property is changed, the ProgressBar control is redrawn to reflect the new range of the control. When the value of the Value property is equal to the value of the Maximum property, the progress bar is completely filled.
You can use this property to specify a value to which the Value property must be set to indicate that an operation is complete. Once the value of Value property is equal to the value of Maximum property, the progress bar will be completely filled.