Class RatingControl
Defines a
Inherited Members
Namespace: Legerity.Windows.Elements.WinUI
Assembly: Legerity.WinUI.dll
Syntax
public class RatingControl : WindowsElementWrapper
Constructors
| Improve this Doc View SourceRatingControl(WindowsElement)
Initializes a new instance of the RatingControl class.
Declaration
public RatingControl(WindowsElement element)
Parameters
Type | Name | Description |
---|---|---|
WindowsElement | element | The |
Properties
| Improve this Doc View SourceIsReadonly
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 rating value.
Declaration
public virtual double Maximum { get; }
Property Value
Type | Description |
---|---|
System.Double |
Minimum
Gets the minimum rating value.
Declaration
public virtual double Minimum { get; }
Property Value
Type | Description |
---|---|
System.Double |
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 SourceSetValue(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 SourceImplicit(AppiumWebElement to RatingControl)
Allows conversion of a
Declaration
public static implicit operator RatingControl(AppiumWebElement element)
Parameters
Type | Name | Description |
---|---|---|
AppiumWebElement | element | The |
Returns
Type | Description |
---|---|
RatingControl | The RatingControl. |
Implicit(RemoteWebElement to RatingControl)
Allows conversion of a
Declaration
public static implicit operator RatingControl(RemoteWebElement element)
Parameters
Type | Name | Description |
---|---|---|
RemoteWebElement | element | The |
Returns
Type | Description |
---|---|
RatingControl | The RatingControl. |
Implicit(WindowsElement to RatingControl)
Allows conversion of a
Declaration
public static implicit operator RatingControl(WindowsElement element)
Parameters
Type | Name | Description |
---|---|---|
WindowsElement | element | The |
Returns
Type | Description |
---|---|
RatingControl | The RatingControl. |