Scroll bar control with floating point accuracy.

Properties

Grip

#
Gets the actual dimensions of the scroll bar grip.
public Rectangle Grip { get; }

GripRegion

#
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.
public Rectangle GripRegion { get; }

ImpliedVerticalOffset

#
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.
public int ImpliedVerticalOffset { get; set; }

ScreenHeight

#
Gets or sets the height of the screen area (the visible area)
public int ScreenHeight { get; set; }

TargetHeight

#
Gets or sets the height of the target area (the area being scrolled)
public int TargetHeight { get; set; }

TargetRatio

#
Gets or sets the scroll ration. If the scroll ratio is changed, the OnScrollRatioChanged event will be raised.
public double TargetRatio { get; set; }

Methods

OnPaint

#
protected override void OnPaint()
Control.OnPaint

OnPaintBackground

#
protected override void OnPaintBackground()

Events

ScrollRatioChanged

#