Class Slider
Represents a slider control.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: DesktopMagicPluginAPI.Inputs
Assembly: DesktopMagicPluginAPI.dll
Syntax
public sealed class Slider : Element
Constructors
| Improve this Doc View SourceSlider(Double, Double, Double)
Initializes a new instance of the Slider class with the provided min value, max value and value.
Declaration
public Slider(double min, double max, double value = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | min | The maximum value for the Slider element. |
| System.Double | max | The minimum value for the Slider element. |
| System.Double | value | The value assigned to the Slider element. |
Properties
| Improve this Doc View SourceMaximum
Gets or sets the maximum value for the Slider element.
Declaration
public double Maximum { get; }
Property Value
| Type | Description |
|---|---|
| System.Double |
Minimum
Gets or sets the minimum value for the Slider element.
Declaration
public double Minimum { get; }
Property Value
| Type | Description |
|---|---|
| System.Double |
Value
Gets or sets the value assigned to the Slider element.
Declaration
public double Value { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |