Show / Hide Table of Contents

Class Slider

Represents a slider control.

Inheritance
System.Object
Element
Slider
Inherited Members
Element.OnValueChanged
Element.ValueChanged()
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 Source

Slider(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 Source

Maximum

Gets or sets the maximum value for the Slider element.

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

Minimum

Gets or sets the minimum value for the Slider element.

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

Value

Gets or sets the value assigned to the Slider element.

Declaration
public double Value { get; set; }
Property Value
Type Description
System.Double
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX