ScrollBar::Minimum Property

 

Gets or sets the lower limit of values of the scrollable range.

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

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

Property Value

Type: System::Int32

A numeric value. The default value is 0.

The following example assumes that you have created a Form, added a PictureBox to the Form, and added a horizontal HScrollBar and a vertical VScrollBar to the PictureBox. This code example is part of a larger example provided for the ScrollBar class overview.

In this example, the Minimum property is set to 0.

You must add references to the System.Drawing and System.Windows.Forms namespaces to run this example.

System_CAPS_noteNote

For instructions about how to run this example in Visual Studio, see How to: Compile and Run a Complete Windows Forms Code Example Using Visual Studio.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: