Class NumberInput
Defines a
Implements
IElementWrapper<RemoteWebElement>
Inherited Members
Namespace: Legerity.Web.Elements.Core
Assembly: Legerity.Web.dll
Syntax
public class NumberInput : TextInput, IElementWrapper<RemoteWebElement>
Constructors
| Improve this Doc View SourceNumberInput(IWebElement)
Initializes a new instance of the NumberInput class.
Declaration
public NumberInput(IWebElement element)
Parameters
Type | Name | Description |
---|---|---|
IWebElement | element | The |
NumberInput(RemoteWebElement)
Initializes a new instance of the NumberInput class.
Declaration
public NumberInput(RemoteWebElement element)
Parameters
Type | Name | Description |
---|---|---|
RemoteWebElement | element | The |
Properties
| Improve this Doc View SourceMaximum
Gets the maximum value of the NumberBox.
Declaration
public virtual double Maximum { get; }
Property Value
Type | Description |
---|---|
System.Double |
Minimum
Gets the minimum value of the NumberBox.
Declaration
public virtual double Minimum { get; }
Property Value
Type | Description |
---|---|
System.Double |
Value
Gets the value of the NumberBox.
Declaration
public virtual double Value { get; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
| Improve this Doc View SourceDecrement()
Decreases the number box value.
Declaration
public virtual void Decrement()
Increment()
Increases the number box value.
Declaration
public virtual void Increment()
SetValue(Double)
Sets the value of the NumberBox.
Declaration
public virtual void SetValue(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value | The value. |
Operators
| Improve this Doc View SourceImplicit(RemoteWebElement to NumberInput)
Allows conversion of a
Declaration
public static implicit operator NumberInput(RemoteWebElement element)
Parameters
Type | Name | Description |
---|---|---|
RemoteWebElement | element | The |
Returns
Type | Description |
---|---|
NumberInput | The NumberInput. |