Table of Contents

Interface ISlider

Namespace
HP.LFT.SDK.Web
Assembly
HP.LFT.SDK.dll

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

double

Max

The maximum value that can be selected in this slider.

double Max { get; }

Property Value

double

Min

The minimum value that can be selected in this slider.

double Min { get; }

Property Value

double

NumericValue

The current value in this slider.

double NumericValue { get; }

Property Value

double

Methods

SetValue(double)

Sets the value in the field.

void SetValue(double value)

Parameters

value double

The numeric value to set in the field.