Scroll bar control with floating point accuracy.

Properties

Grip

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

GripRegion

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

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

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

TargetHeight

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

TargetRatio

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

Methods

OnPaint

#
protected override void OnPaint(PaintEventArgs e)
e (PaintEventArgs)
Control.OnPaint

OnPaintBackground

#
protected override void OnPaintBackground(PaintEventArgs e)

Events

ScrollRatioChanged

#