Class IntegerUpDown
Represents a up-down 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 class IntegerUpDown : Element
Constructors
| Improve this Doc View SourceIntegerUpDown(Int32, Int32, Int32)
Initializes a new instance of the IntegerUpDown class with the provided min value, max value and value.
Declaration
public IntegerUpDown(int min, int max, int value = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | min | The maximum value for the IntegerUpDown element. |
| System.Int32 | max | The minimum value for the IntegerUpDown element. |
| System.Int32 | value | The value assigned to the IntegerUpDown element. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentException |
Properties
| Improve this Doc View SourceMaximum
Gets or sets the maximum value for the IntegerUpDown element.
Declaration
public int Maximum { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Minimum
Gets or sets the minimum value for the IntegerUpDown element.
Declaration
public int Minimum { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Value
Gets or sets the value assigned to the IntegerUpDown element.
Declaration
public int Value { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |