Provides Numeric digit scrolling GUI not tied to a control-handle.
Constructors
GH_DigitScrollerBase
#public GH_DigitScrollerBase()
Properties
AmplifyMotion
#Gets or sets a value indicating whether vertical mouse drags should be amplified as the mouse moves further and further.
BackgroundGradient
#Gets or sets the background Gradient. If the gradient is not null, it overrides the background colours.
BottomColour
#Gets or sets the colour used along the bottom edge of the control.
public Color BottomColour { get; set; }
Bounds
#Gets or sets the Bounds for this scroller.
public override Rectangle Bounds { get; set; }
Overrides: GH_TextBoxInputBase.Bounds
DecimalPlaces
#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.
Font
Gets or sets the Font to use in this control.
public virtual Font Font { get; set; }
PrefixBox
#Gets the box containing the prefix string. If there is no prefix the PrefixBox will be Rectangle.Empty
public Rectangle PrefixBox { get; }
RadixBox
#Gets the Radix box for this control, if there is no radix box, Rectangle.Empty will be returned.
public Rectangle RadixBox { get; }
ScrollBoxes
#Gets all scroll boxes (from left to right) for this control, not including the radix box.
SuffixBox
#Gets the box containing the suffix string. If there is no suffix the PrefixBox will have zero width
public Rectangle SuffixBox { get; }
TextColour
#Gets or sets the colour used for the text inside the scrolls.
public Color TextColour { get; set; }
TopColour
#Gets or sets the colour used along the top edge of the control.
public Color TopColour { get; set; }
Methods
HideTextInputBox
Hides the text-input override form (if it is displayed).
public void HideTextInputBox()
MouseDown
#Respond to mouse-down events.
Returns: True if a Drag operation was started, false if the event went unnoticed.
MouseMove
#Respond to mouse-move events.
Returns: True if a Drag operation was performed, false if the event went unnoticed.
MouseUp
#Respond to mouse-up events.
Returns: True if a Drag operation was terminated, false if the event went unnoticed.
RespondToEnter
Implements: RespondToEnter
RespondToEscape
Implements: RespondToEscape
SetupScroller
#Set the minimum, maximum and value fields simultaneously.
ShowTextInputBox
Display a floating text-box on top of the owner control.
public void ShowTextInputBox()
Control
owner,
Control that owns this slider. The coordinates of the Bounds rectangle must be specified in owner coordinates.
content,
selectContent,
limitToBoundary,
If True, the pop up input box will be 'clipped' to the owner boundary. At least some part of the slider must be visible for this to work.
Matrix
transform
Transformation matrix to apply to pop up UI.
ShowTextInputBox
Display a floating text-box on top of the owner control.
public void ShowTextInputBox()
Control
owner,
Control that owns this slider. The coordinates of the Bounds rectangle must be specified in owner coordinates.
content,
selectContent,
limitToBoundary
If True, the pop up input box will be 'clipped' to the owner boundary. At least some part of the slider must be visible for this to work.
ShowTextInputBox
Display a floating text-box on top of the owner control.
ShowTextInputBox
#public void ShowTextInputBox()
Control
owner