GH_ScrollBarVerticalBase
Provides basic vertical scroll bar logic.
Inheritance Hierarchy
System.Object
Grasshopper.GUI.Base.GH_ScrollBarVerticalBase
Namespace: Grasshopper.GUI.Base
Assembly: Grasshopper (in Grasshopper.dll)
Syntax
public class GH_ScrollBarVerticalBase
The GH_ScrollBarVerticalBase type exposes the following members.
Constructors
Name
Description
Public Method
GH_ScrollBarVerticalBase
Initializes a new instance of the GH_ScrollBarVerticalBase class
Properties
Name
Description
Public Property
Content
Gets or sets the height of the content
Public Property
ContentOffset
Gets the vertical offset (in pixels) of the scrolled content.
Public Property
Display
Gets or sets the height of the display area.
Public Property
Minimum
Gets or sets the minimum height of the scrollbar.
Public Property
Offset
Gets the offset of the scroller.
Public Property
OffsetNormalised
Gets or sets the normalised offset of the scroller.
Methods
Name
Description
Public Method
BeginDrag
Start a new drag operation.
Public Method
ContinueDrag
Continue a drag operation.
Public Method
ScrollBar(Rectangle)
Compute the size and position of the scroll bar in the scroll rail.
Public Method
ScrollBar(RectangleF)
Compute the size and position of the scroll bar in the scroll rail.