Gets or sets a numeric value that represents the current position of the scroll box on the scroll bar control.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The following example scrolls an image in a picture box. It uses the of the scrollbar to redraw a new part of the image whenever the user scrolls. This code example is part of a larger example provided for the ScrollBar class overview.
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.