-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Incrementing/Decrementing via mouse can be configured to: - Vertical only - Horizontal only - Vertical and Horizontal mouse drags.
- Loading branch information
1 parent
869afbe
commit 8a556b6
Showing
3 changed files
with
49 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
namespace NumericUpDownLib.Enums | ||
{ | ||
/// <summary> | ||
/// Defines the mouse drag modes that are supported to increment/decrement | ||
/// small/large values allowing horizontal/vertical mouse drag moves at the same | ||
/// time or each direction only by itself. | ||
/// </summary> | ||
public enum CanIncDecMouseDrag | ||
{ | ||
/// <summary> | ||
/// A value can be incremented/decremented in small steps using vertical mouse drag moves only. | ||
/// </summary> | ||
VerticalOnly, | ||
|
||
/// <summary> | ||
/// A value can be incremented/decremented in large steps using horizontal mouse drag moves only. | ||
/// </summary> | ||
HorizontalOnly, | ||
|
||
/// <summary> | ||
/// A value can be incremented/decremented in small steps or large steps | ||
/// using vertical or horizontal mouse drag moves at the same time. | ||
/// </summary> | ||
VerticalHorizontal | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters