GH_ScrollBarVerticalBase
Provides basic vertical scroll bar logic.
Properties
Methods
BeginDrag
#Start a new drag operation.
Parameters:
| region (RectangleF) | Scroll bar region (the rectangle in which the scroll bar is allowed to move). |
| start (double) | Vertical offset of scroll drag. |
ContinueDrag
#Continue a drag operation.
Parameters:
| position (double) | New offset hint. |
Returns: True if the drag resulted in an offset change, false if not.
ScrollBar
#public Rectangle ScrollBar(Rectangle rail)
Compute the size and position of the scroll bar in the scroll rail.
Parameters:
| rail (Rectangle) | Rail for scroll bar to move around in. |
Returns: A rectangle describing the location and extends of the scroll bar.
ScrollBar
#Compute the size and position of the scroll bar in the scroll rail.
Parameters:
| rail (RectangleF) | Rail for scroll bar to move around in. |
Returns: A rectangle describing the location and extends of the scroll bar.