Search Results for

    Show / Hide Table of Contents

    Class RatingControl

    Defines a wrapper for the WinUI Rating control.

    Inheritance
    System.Object
    WindowsElementWrapper
    RatingControl
    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 RatingControl : WindowsElementWrapper

    Constructors

    | Improve this Doc View Source

    RatingControl(WindowsElement)

    Initializes a new instance of the RatingControl class.

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

    The reference.

    Properties

    | 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 rating value.

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

    Minimum

    Gets the minimum rating value.

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

    Value

    Gets the value of the rating out of 5.

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

    Methods

    | Improve this Doc View Source

    SetValue(Double)

    Sets the value of the slider.

    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 RatingControl)

    Allows conversion of a to the RatingControl without direct casting.

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

    The .

    Returns
    Type Description
    RatingControl

    The RatingControl.

    | Improve this Doc View Source

    Implicit(RemoteWebElement to RatingControl)

    Allows conversion of a to the RatingControl without direct casting.

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

    The .

    Returns
    Type Description
    RatingControl

    The RatingControl.

    | Improve this Doc View Source

    Implicit(WindowsElement to RatingControl)

    Allows conversion of a to the RatingControl without direct casting.

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

    The .

    Returns
    Type Description
    RatingControl

    The RatingControl.

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