Interface ISlider
A numeric Web slider object.
public interface ISlider : IEditFieldCommon, IEditBase, IEnabledProvider, IWebElement, ITestObject, IClickable, IWebTestObject, IWebDescriber, ITestObjectDescriber, ILocationInfoProvider, ISupportsNativeObject, IVisibleProvider, ISupportDragAndDrop
- Inherited Members
- Extension Methods
Remarks
Introduced in HTML5. If a browser does not support this slider, an edit field is used instead (<input type="text">) instead.
HTML example: <input type="range" name="points" min="1" max=“10”/>
Properties
DefaultNumericValue
The default value for this slider.
double DefaultNumericValue { get; }
Property Value
Max
The maximum value that can be selected in this slider.
double Max { get; }
Property Value
Min
The minimum value that can be selected in this slider.
double Min { get; }
Property Value
NumericValue
The current value in this slider.
double NumericValue { get; }
Property Value
Methods
SetValue(double)
Sets the value in the field.
void SetValue(double value)
Parameters
valuedoubleThe numeric value to set in the field.