Interface ISlider
A numeric Web slider object.
Inherited Members
Namespace: HP.LFT.SDK.Web
Assembly: HP.LFT.SDK.dll
Syntax
public interface ISlider : IEditFieldCommon, IEditBase, IEnabledProvider, IWebElement, ITestObject, IClickable, IWebTestObject, IWebDescriber, ITestObjectDescriber, ILocationInfoProvider, ISupportsNativeObject, IVisibleProvider, ISupportDragAndDrop
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.
Declaration
double DefaultNumericValue { get; }
Property Value
| Type | Description |
|---|---|
| double |
Max
The maximum value that can be selected in this slider.
Declaration
double Max { get; }
Property Value
| Type | Description |
|---|---|
| double |
Min
The minimum value that can be selected in this slider.
Declaration
double Min { get; }
Property Value
| Type | Description |
|---|---|
| double |
NumericValue
The current value in this slider.
Declaration
double NumericValue { get; }
Property Value
| Type | Description |
|---|---|
| double |
Methods
SetValue(double)
Sets the value in the field.
Declaration
void SetValue(double value)
Parameters
| Type | Name | Description |
|---|---|---|
| double | value | The numeric value to set in the field. |