ScrollProperties.Maximum Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the upper limit of the scrollable range.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public int Maximum { get; set; }

Property Value

Type: System.Int32

An Int32 representing the maximum range of the scroll bar.

If the new value of Maximum is less than Minimum, then Minimum is set equal to Maximum.

.NET Framework
Available since 2.0
Return to top