Constructors
ScrollX
#Fields
Properties
ActiveRegion
Gets the active region for this scroller. If the mouse leaves the active region we assume the scrollbar ought to fade.
public RectangleF ActiveRegion { get; }
Dragging
Gets or sets whether this scrollbar is currently being dragged.
Fading
Grip
#Gets the grip rectangle for this scrollbar.
public override RectangleF Grip { get; }
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
#Gets the rail rectangle for this scrollbar.
public override RectangleF Rail { get; }
Overrides: ScrollBar.Rail
Methods
AddParallelScroller
Add a parallel scrolling object.
BeginDrag
public void BeginDrag()
PointF
mouse
BeginDragInternal
#public override void BeginDragInternal()
PointF
mouse
Overrides: ScrollBar.BeginDragInternal
ContinueDragInternal
#Overrides: ScrollBar.ContinueDragInternal
EndDrag
public void EndDrag()
Fade
public void Fade()