Class Slider
Represents a slider control used to select values from a continuous range.
public class Slider : UserControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
- Inheritance
-
Slider
- Implements
- Inherited Members
Constructors
Slider()
Initializes a new instance of the Slider class.
public Slider()
Properties
Converter
Gets or sets the type converter used to convert the slider value to a text representation.
public TypeConverter Converter { get; set; }
Property Value
DecimalPlaces
Gets or sets an optional maximum number of decimal places used when formatting the numeric display of the slider.
public int? DecimalPlaces { get; set; }
Property Value
- int?
Maximum
Gets or sets the upper limit of values in the slider.
public double Maximum { get; set; }
Property Value
Minimum
Gets or sets the lower limit of values in the slider.
public double Minimum { get; set; }
Property Value
Value
Gets or sets a numeric value which represents the position of the slider.
public double Value { get; set; }
Property Value
Methods
Dispose(bool)
Clean up any resources being used.
protected override void Dispose(bool disposing)
Parameters
disposing
booltrue if managed resources should be disposed; otherwise, false.
OnSizeChanged(EventArgs)
Raises the SizeChanged event.
protected override void OnSizeChanged(EventArgs e)
Parameters
Events
ValueChanged
Occurs when the slider value changes.
public event EventHandler ValueChanged