IBoundedModal interface
Namespace: Arlecchino.Modals.Setting · Assembly: Arlecchino
A value that moves in steps between two ends. Shared by the number field and the slider, so the stepping keys work the same in both.
public interface IBoundedModal
Implemented by NumberModal, SliderModal
Properties
| Member | Summary |
|---|---|
LargeStep | How far the page keys move the value. |
Maximum | Highest value allowed. |
Minimum | Lowest value allowed. |
Step | How far the arrow keys move the value. |
Methods
| Member | Summary |
|---|---|
Add(decimal) | Moves the value and clamps it to the bounds. |
Properties in detail
LargeStep
public decimal LargeStep { get; }
How far the page keys move the value.
Type decimal
Maximum
public decimal Maximum { get; }
Highest value allowed.
Type decimal
Minimum
public decimal Minimum { get; }
Lowest value allowed.
Type decimal
Step
public decimal Step { get; }
How far the arrow keys move the value.
Type decimal
Methods in detail
Add(decimal)
public void Add(decimal delta);
Moves the value and clamps it to the bounds.
Parameters
| Name | Type | Description |
|---|---|---|
delta | decimal | How far to move; negative goes down. |