Constructors

GH_Slider_Obsolete

#
public GH_Slider_Obsolete()

Properties

DisplayFormat

#
public string DisplayFormat { get; set; }
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

#
public bool DrawRail { get; set; }
Gets or sets a flag that control whether or not grip rails are drawn.

GripBackColor

#
public Color GripBackColor { get; set; }
Background colour of slider grip.

GripForeColor

#
public Color GripForeColor { get; set; }
Foreground colour of slider grip.

IsIntermediate

#
public bool IsIntermediate { get; }
Gets the intermediate flag. If True, the user is currently dragging the slider.

Max

#
public double Max { get; set; }
Gets or sets the maximum allowed value.

Min

#
public double Min { get; set; }
Gets or sets the minimum allowed value.

NumericFormat

#
public string NumericFormat { get; set; }
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

#
public GH_SliderInputMode TextInputMode { get; set; }
Gets or sets the Text input mode for this slider.

TickFrequency

#
public int TickFrequency { get; set; }
Gets or sets the tick frequency of the slider.

Value

#
public double Value { get; set; }
Gets or sets the current value.

ValueF

#
public float ValueF { get; set; }
Gets or sets the current value in single-floating-point precision.

Methods

Dispose

#
protected override void Dispose(bool disposing)
disposing (bool)

OnPaint

#
protected override void OnPaint(PaintEventArgs e)
e (PaintEventArgs)
Control.OnPaint

OnPaintBackground

#
protected override void OnPaintBackground(PaintEventArgs e)

OnValueChanged

#
public void OnValueChanged()
Raise the ValueChanged event

SendMessage

#
public static IntPtr SendMessage(IntPtr hWnd, int msg, int wParam, IntPtr lParam)
hWnd (IntPtr)
msg (int)
wParam (int)
lParam (IntPtr)

Events

ValueChanged

#
public event GH_Slider_Obsolete.ValueChangedEventHandler ValueChanged
Raised whenever the value of the slider is changed via GUI interaction.