Constructors
Fields
Properties
ActiveRegion
public RectangleF ActiveRegion { get; }
Gets the active region for this scroller. If the mouse leaves the active region we assume the scrollbar ought to fade.
Dragging
Gets or sets whether this scrollbar is currently being dragged.
Fading
Grip
#public override RectangleF Grip { get; }
Gets the grip rectangle for this scrollbar.
Overrides: ScrollBar.Grip
HasFaded
Gets whether this scrollbar has completely faded out and can be culled. Note that ValueNow is only meaningful after the animation has been evaluated at least once, and Draw() skips evaluation entirely while the grip is empty. A freshly created fade-in bar therefore also reports a ValueNow of zero, so we additionally require the bar to actually be fading out before declaring it dead.
ParallelScrollers
Enumerate over all parallel scrolling objects.
Rail
#public override RectangleF Rail { get; }
Gets the rail rectangle for this scrollbar.
Overrides: ScrollBar.Rail
Methods
AddParallelScroller
Add a parallel scrolling object.
BeginDrag
public void BeginDrag(PointF mouse)
Parameters:
| mouse (PointF) |
BeginDragInternal
#public override void BeginDragInternal(PointF mouse)
Parameters:
| mouse (PointF) |
Overrides: ScrollBar.BeginDragInternal
Parameters:
| mouse (PointF) | |
| amount (out float) |
ContinueDragInternal
#Parameters:
| mouse (PointF) | |
| amount (out float) |
Overrides: ScrollBar.ContinueDragInternal
EndDrag
public void EndDrag()
Fade
public void Fade()