GH_Slider
GH_TextInputBaseControlUserControlContainerControlScrollableControlControlComponentMarshalByRefObjectProvides a standard Grasshopper slider as a winforms control.
Constructors
GH_Slider
#public GH_Slider()
Properties
DecimalPlaces
#Gets or sets the number of decimal places allowed for Floating Point Sliders.
DrawControlBorder
#Gets or sets whether the border of the slider should be drawn.
DrawControlShadows
#Gets or sets whether the drop shadows of the slider should be drawn.
FormatMask
#Gets or sets the string format mask to use for the display. Should contain at least one "{0}" element.
InternalSlider
#[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public GH_SliderBase InternalSlider { get; }
Gets the internal slider.
IsTextInputActive
Gets whether the text input override is currently displayed.
Maximum
#Gets or sets the upper numeric limit for the slider range.
Minimum
#Gets or sets the lower numeric limit for the slider range.
ShadowSize
#Gets or sets the size of the border shadow along all edges of the box.
ShowTextInputOnDoubleClick
[Category("Text Input")]
[DisplayName("Show on DoubleClick")]
[Description("Show the text input override on double click events")]
public bool ShowTextInputOnDoubleClick { get; set; }
Gets or sets whether this control displays the text input override on a double mouse click.
ShowTextInputOnKeyDown
[Category("Text Input")]
[DisplayName("Show on KeyDown")]
[Description("Show the text input override on keydown events")]
public bool ShowTextInputOnKeyDown { get; set; }
Gets or sets whether this control displays the text input override on a key down event.
TickFrequency
#Gets or sets the frequency of large ticks vs small ticks.
Methods
Parameters:
| disposing (bool) |
Overrides: ContainerControl.Dispose
HideTextInput
protected void HideTextInput()
Input_Parse
#Parameters:
| text (string) |
Overrides: GH_TextInputBaseControl.Input_Parse
ShowTextInput
protected void ShowTextInput()