Search Results for

    Show / Hide Table of Contents

    Class NumberBox

    Defines a wrapper for the WinUI NumberBox control.

    Inheritance
    System.Object
    WindowsElementWrapper
    NumberBox
    Inherited Members
    WindowsElementWrapper.Driver
    WindowsElementWrapper.VerifyDriverElementShown(By, Nullable<TimeSpan>)
    WindowsElementWrapper.VerifyDriverElementsShown(By, Nullable<TimeSpan>)
    Namespace: Legerity.Windows.Elements.WinUI
    Assembly: Legerity.WinUI.dll
    Syntax
    public class NumberBox : WindowsElementWrapper

    Constructors

    | Improve this Doc View Source

    NumberBox(WindowsElement)

    Initializes a new instance of the NumberBox class.

    Declaration
    public NumberBox(WindowsElement element)
    Parameters
    Type Name Description
    WindowsElement element

    The reference.

    Properties

    | Improve this Doc View Source

    InlineDownButton

    Gets the element associated with the inline down button.

    Declaration
    public virtual Button InlineDownButton { get; }
    Property Value
    Type Description
    Button
    | Improve this Doc View Source

    InlineUpButton

    Gets the element associated with the inline up button.

    Declaration
    public virtual Button InlineUpButton { get; }
    Property Value
    Type Description
    Button
    | Improve this Doc View Source

    InputBox

    Gets the element associated with the input text box.

    Declaration
    public virtual TextBox InputBox { get; }
    Property Value
    Type Description
    TextBox
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    Maximum

    Gets the maximum value of the NumberBox.

    Declaration
    public virtual double Maximum { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    Minimum

    Gets the minimum value of the NumberBox.

    Declaration
    public virtual double Minimum { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    SmallChange

    Gets the small change (step) value of the NumberBox.

    Declaration
    public virtual double SmallChange { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    Value

    Gets the value of the NumberBox.

    Declaration
    public virtual double Value { get; }
    Property Value
    Type Description
    System.Double

    Methods

    | Improve this Doc View Source

    Decrement()

    Decreases the number box value by the SmallChange value.

    Declaration
    public virtual void Decrement()
    | Improve this Doc View Source

    Increment()

    Increases the number box value by the SmallChange value.

    Declaration
    public virtual void Increment()
    | Improve this Doc View Source

    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 Source

    Implicit(AppiumWebElement to NumberBox)

    Allows conversion of a to the NumberBox without direct casting.

    Declaration
    public static implicit operator NumberBox(AppiumWebElement element)
    Parameters
    Type Name Description
    AppiumWebElement element

    The .

    Returns
    Type Description
    NumberBox

    The NumberBox.

    | Improve this Doc View Source

    Implicit(RemoteWebElement to NumberBox)

    Allows conversion of a to the NumberBox without direct casting.

    Declaration
    public static implicit operator NumberBox(RemoteWebElement element)
    Parameters
    Type Name Description
    RemoteWebElement element

    The .

    Returns
    Type Description
    NumberBox

    The NumberBox.

    | Improve this Doc View Source

    Implicit(WindowsElement to NumberBox)

    Allows conversion of a to the NumberBox without direct casting.

    Declaration
    public static implicit operator NumberBox(WindowsElement element)
    Parameters
    Type Name Description
    WindowsElement element

    The .

    Returns
    Type Description
    NumberBox

    The NumberBox.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) MADE Apps