# GH_VerticalScrollBar class

Namespace: [Grasshopper.GUI](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.gui.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class GH_VerticalScrollBar : GH_DoubleBufferedPanel
```

Scroll bar control with floating point accuracy.

## Properties

- [Grip](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-verticalscrollbar/grip.md): Gets the actual dimensions of the scroll bar grip.
- [GripRegion](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-verticalscrollbar/gripregion.md): Gets the grip region for this scroll bar. The Grip Region is the area in which the grip can be found. It is essentially the Client area minus the padding.
- [ImpliedVerticalOffset](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-verticalscrollbar/impliedverticaloffset.md): Gets or sets the offset of the target region as implied by the scroll ratio. If you set this value, the ratio is reverse engineered.
- [ScreenHeight](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-verticalscrollbar/screenheight.md): Gets or sets the height of the screen area (the visible area)
- [TargetHeight](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-verticalscrollbar/targetheight.md): Gets or sets the height of the target area (the area being scrolled)
- [TargetRatio](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-verticalscrollbar/targetratio.md): Gets or sets the scroll ration. If the scroll ratio is changed, the OnScrollRatioChanged event will be raised.

## Methods

- [OnPaint](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-verticalscrollbar/onpaint.md)
- [OnPaintBackground](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-verticalscrollbar/onpaintbackground.md)

## Events

- [ScrollRatioChanged](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-verticalscrollbar/scrollratiochanged.md)
