# GH_DigitScrollerBase class

Namespace: [Grasshopper.GUI.Base](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.gui.base.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class GH_DigitScrollerBase : GH_TextBoxInputBase
```

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

## Constructors

- [GH_DigitScrollerBase](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/ctor.md)

## Properties

- [AllowRadixDrag](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/allowradixdrag.md): Gets or sets a value indicating whether the radix is allowed to be dragged around.
- [AllowTextInput](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/allowtextinput.md): Gets or sets whether text input is allowed by double click.
- [AmplifyMotion](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/amplifymotion.md): Gets or sets a value indicating whether vertical mouse drags should be amplified as the mouse moves further and further.
- [BackgroundGradient](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/backgroundgradient.md): Gets or sets the background Gradient. If the gradient is not null, it overrides the background colours.
- [BottomColour](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/bottomcolour.md): Gets or sets the colour used along the bottom edge of the control.
- [Bounds](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/bounds.md): Gets or sets the Bounds for this scroller.
- [DecimalPlaces](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/decimalplaces.md): 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.
- [DigitAlign](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/digitalign.md): Gets or sets the digit align mode.
- [Digits](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/digits.md): Gets or sets the number of digits available in this scroller.
- [DrawBackground](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/drawbackground.md): Gets or sets whether the background is drawn in this control.
- [DrawBorder](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/drawborder.md): Gets or sets whether the border is drawn in this control.
- [DrawShadows](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/drawshadows.md): Gets or sets whether shadows are drawn in this control.
- [EdgeColour](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/edgecolour.md): Gets or sets the edge colour of the control.
- [Epsilon](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/epsilon.md): Gets the smallest possible change in the value.
- [MaximumValue](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/maximumvalue.md): Gets or sets the upper bound of the scroll value.
- [MinimumValue](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/minimumvalue.md): Gets or sets the lower bound of the scroll value.
- [Prefix](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/prefix.md): Gets or sets the prefix text to be displayed on the scroller.
- [PrefixBox](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/prefixbox.md): Gets the box containing the prefix string. If there is no prefix the PrefixBox will be Rectangle.Empty
- [Radix](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/radix.md): Gets or sets the radix index of this scroller.
- [RadixBox](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/radixbox.md): Gets the Radix box for this control, if there is no radix box, Rectangle.Empty will be returned.
- [RailColour](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/railcolour.md): Gets or sets the colour used for the rail line.
- [RaiseEvents](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/raiseevents.md): Gets or sets whether this scroller raises the ValueChanged event.
- [ScrollBoxes](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/scrollboxes.md): Gets all scroll boxes (from left to right) for this control, not including the radix box.
- [ShadowColour](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/shadowcolour.md): Gets or sets the colour used for the shadows.
- [ShadowSize](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/shadowsize.md): Gets or sets the size of the drop shadow along all four edges.
- [SignBox](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/signbox.md): Gets the Sign box for this control.
- [Suffix](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/suffix.md): Gets or sets the suffix text to be displayed on the scroller.
- [SuffixBox](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/suffixbox.md): Gets the box containing the suffix string. If there is no suffix the PrefixBox will have zero width
- [TextColour](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/textcolour.md): Gets or sets the colour used for the text inside the scrolls.
- [TopColour](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/topcolour.md): Gets or sets the colour used along the top edge of the control.
- [Value](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/value.md): Gets or sets the value displayed in this scroller.

## Methods

- [HandleTextInputAccepted](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/handletextinputaccepted.md)
- [MouseDown](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/mousedown.md): Respond to mouse-down events.
- [MouseMove](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/mousemove.md): Respond to mouse-move events.
- [MouseUp](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/mouseup.md): Respond to mouse-up events.
- [OnInvalidated](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/oninvalidated.md): Raise the Invalidated event.
- [OnValueChanged](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/onvaluechanged.md): Raise the ValueChanged event.
- [Render](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/render.md): Render all UI elements.
- [SetupScroller](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/setupscroller.md): Set the minimum, maximum and value fields simultaneously.
- [ShowTextInputBox](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/showtextinputbox.md): (3 overloads)

## Events

- [Invalidated](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/invalidated.md): Raised whenever the display of this scroller is changed, but not the value.
- [ValueChanged](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-digitscrollerbase/valuechanged.md): Raised whenever the value of this scroller is changed due to User-Interface methods.

## Inherited Members

- From [GH_TextBoxInputBase](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-textboxinputbase.md): [Font](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-textboxinputbase/font.md), [IsTextInput](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-textboxinputbase/istextinput.md), [HideTextInputBox](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-textboxinputbase/hidetextinputbox.md), [RespondToEnter](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-textboxinputbase/respondtoenter.md), [RespondToEscape](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-textboxinputbase/respondtoescape.md), [ShowTextInputBox](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.base.gh-textboxinputbase/showtextinputbox.md)
