ScrollProperties::Maximum Property

 

Gets or sets the upper limit of the scrollable range.

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

public:
property int Maximum {
	int get();
	void set(int value);
}

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
Show: