Class NumberBox
Defines a
Inherited Members
Namespace: Legerity.Windows.Elements.WinUI
Assembly: Legerity.WinUI.dll
Syntax
public class NumberBox : WindowsElementWrapper
Constructors
| Improve this Doc View SourceNumberBox(WindowsElement)
Initializes a new instance of the NumberBox class.
Declaration
public NumberBox(WindowsElement element)
Parameters
Type | Name | Description |
---|---|---|
WindowsElement | element | The |
Properties
| Improve this Doc View SourceInlineDownButton
Gets the element associated with the inline down button.
Declaration
public virtual Button InlineDownButton { get; }
Property Value
Type | Description |
---|---|
Button |
InlineUpButton
Gets the element associated with the inline up button.
Declaration
public virtual Button InlineUpButton { get; }
Property Value
Type | Description |
---|---|
Button |
InputBox
Gets the element associated with the input text box.
Declaration
public virtual TextBox InputBox { get; }
Property Value
Type | Description |
---|---|
TextBox |
IsReadonly
Gets a value indicating whether the control is in a readonly state.
Declaration
public virtual bool IsReadonly { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Maximum
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 |
SmallChange
Gets the small change (step) value of the NumberBox.
Declaration
public virtual double SmallChange { 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 by the SmallChange value.
Declaration
public virtual void Decrement()
Increment()
Increases the number box value by the SmallChange 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(AppiumWebElement to NumberBox)
Allows conversion of a
Declaration
public static implicit operator NumberBox(AppiumWebElement element)
Parameters
Type | Name | Description |
---|---|---|
AppiumWebElement | element | The |
Returns
Type | Description |
---|---|
NumberBox | The NumberBox. |
Implicit(RemoteWebElement to NumberBox)
Allows conversion of a
Declaration
public static implicit operator NumberBox(RemoteWebElement element)
Parameters
Type | Name | Description |
---|---|---|
RemoteWebElement | element | The |
Returns
Type | Description |
---|---|
NumberBox | The NumberBox. |
Implicit(WindowsElement to NumberBox)
Allows conversion of a
Declaration
public static implicit operator NumberBox(WindowsElement element)
Parameters
Type | Name | Description |
---|---|---|
WindowsElement | element | The |
Returns
Type | Description |
---|---|
NumberBox | The NumberBox. |