Skip to content

GH_DigitScrollerBase

Public Class

Provides Numeric digit scrolling GUI not tied to a control-handle.

Inheritance Hierarchy

System.Object
Grasshopper.GUI.Base.GH_TextBoxInputBase
Grasshopper.GUI.Base.GH_DigitScrollerBase

Namespace: Grasshopper.GUI.Base

Assembly: Grasshopper (in Grasshopper.dll)

Syntax

public class GH_DigitScrollerBase : GH_TextBoxInputBase

The GH_DigitScrollerBase type exposes the following members.

Constructors

Name

Description


Public Method

Initializes a new instance of the GH_DigitScrollerBase class


Properties

Name

Description


Public Property

Gets or sets a value indicating whether the radix is allowed to be dragged around.


Public Property

Gets or sets whether text input is allowed by double click.


Public Property

Gets or sets a value indicating whether vertical mouse drags should be amplified as the mouse moves further and further.


Public Property

Gets or sets the background Gradient. If the gradient is not null, it overrides the background colours.


Public Property

Gets or sets the colour used along the bottom edge of the control.


Public Property

Gets or sets the Bounds for this scroller.

(Overrides GH_TextBoxInputBase.Bounds.)


Public Property

Gets or sets the number of decimal places available in this scroller. Unlike Radix, this property maintains the decimal position of the value represented by this scroller.


Public Property

Gets or sets the digit align mode.


Public Property

Gets or sets the number of digits available in this scroller.


Public Property

Gets or sets whether the background is drawn in this control.


Public Property

Gets or sets whether the border is drawn in this control.


Public Property

Gets or sets whether shadows are drawn in this control.


Public Property

Gets or sets the edge colour of the control.


Public Property

Gets the smallest possible change in the value.


Public Property

Gets or sets the Font for this scroller.

(Overrides

.)


Public Property

Gets whether the text input box is currently on screen.

(Inherited from GH_TextBoxInputBase.)


Public Property

Gets or sets the upper bound of the scroll value.


Public Property

Gets or sets the lower bound of the scroll value.


Public Property

Gets or sets the prefix text to be displayed on the scroller.


Public Property

Gets the box containing the prefix string. If there is no prefix the PrefixBox will be Rectangle.Empty


Public Property

Gets or sets the radix index of this scroller.


Public Property

Gets the Radix box for this control, if there is no radix box, Rectangle.Empty will be returned.


Public Property

Gets or sets the colour used for the rail line.


Public Property

Gets or sets whether this scroller raises the ValueChanged event.


Public Property

Gets all scroll boxes (from left to right) for this control, not including the radix box.


Public Property

Gets or sets the colour used for the shadows.


Public Property

Gets or sets the size of the drop shadow along all four edges.


Public Property

Gets the Sign box for this control.


Public Property

Gets or sets the suffix text to be displayed on the scroller.


Public Property

Gets the box containing the suffix string. If there is no suffix the PrefixBox will have zero width


Public Property

Gets or sets the colour used for the text inside the scrolls.


Public Property

Gets or sets the colour used along the top edge of the control.


Public Property

Gets or sets the value displayed in this scroller.


Methods

Name

Description


Protected method

(Overrides

.)


Public Method

Hides the text-input override form (if it is displayed).

(Inherited from GH_TextBoxInputBase.)


Public Method

Respond to mouse-down events.


Public Method

Respond to mouse-move events.


Public Method

Respond to mouse-up events.


Public Method

Raise the Invalidated event.


Public Method

Raise the ValueChanged event.


Public Method

Render all UI elements.


Public Method

(Inherited from GH_TextBoxInputBase.)


Public Method

(Inherited from GH_TextBoxInputBase.)


Public Method

Set the minimum, maximum and value fields simultaneously.


Public Method

Public Method

Public Method

Public Method

Display a floating text-box on top of the owner control.

(Inherited from GH_TextBoxInputBase.)


Public Method

Display a floating text-box on top of the owner control.

(Inherited from GH_TextBoxInputBase.)


Public Method

Display a floating text-box on top of the owner control.

(Inherited from GH_TextBoxInputBase.)


Events

Name

Description


Public Event

Raised whenever the display of this scroller is changed, but not the value.


Public Event

Raised whenever the value of this scroller is changed due to User-Interface methods.