# GH_Slider_Obsolete class

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

```cs
[DesignerGenerated]
public class GH_Slider_Obsolete : UserControl
```

General purpose numeric slider.

## Constructors

- [GH_Slider_Obsolete](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-slider-obsolete/ctor.md)

## Properties

- [DisplayFormat](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-slider-obsolete/displayformat.md): Gets or sets the display format fo the slider. This is the formatting that is applied prior to drawing. The default is {0} which results in a 1:1 display. Use this to append units or symbols.
- [DrawRail](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-slider-obsolete/drawrail.md): Gets or sets a flag that control whether or not grip rails are drawn.
- [GripBackColor](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-slider-obsolete/gripbackcolor.md): Background colour of slider grip.
- [GripForeColor](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-slider-obsolete/gripforecolor.md): Foreground colour of slider grip.
- [IsIntermediate](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-slider-obsolete/isintermediate.md): Gets the intermediate flag. If True, the user is currently dragging the slider.
- [Max](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-slider-obsolete/max.md): Gets or sets the maximum allowed value.
- [Min](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-slider-obsolete/min.md): Gets or sets the minimum allowed value.
- [NumericFormat](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-slider-obsolete/numericformat.md): Gets or sets the numeric format for the slider. This is the formatting that is applied to the number. The default is #0.00 which results in a two digit rounding scheme.
- [TextInputMode](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-slider-obsolete/textinputmode.md): Gets or sets the Text input mode for this slider.
- [TickFrequency](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-slider-obsolete/tickfrequency.md): Gets or sets the tick frequency of the slider.
- [Value](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-slider-obsolete/value.md): Gets or sets the current value.
- [ValueF](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-slider-obsolete/valuef.md): Gets or sets the current value in single-floating-point precision.

## Methods

- [Dispose](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-slider-obsolete/dispose.md)
- [OnPaint](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-slider-obsolete/onpaint.md)
- [OnPaintBackground](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-slider-obsolete/onpaintbackground.md)
- [OnValueChanged](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-slider-obsolete/onvaluechanged.md): Raise the ValueChanged event
- [SendMessage](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-slider-obsolete/sendmessage.md): (static)

## Events

- [ValueChanged](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-slider-obsolete/valuechanged.md): Raised whenever the value of the slider is changed via GUI interaction.
