Class LinearRange
Provides a linear range control letting the user navigate from a set of typed options in a linear manner using the keyboard or mouse.
public class LinearRange : LinearRange<object>, IDisposable, ISupportInitializeNotification, ISupportInitialize, IOrientation
- Inheritance
-
LinearRange
- Implements
- Inherited Members
- Extension Methods
Remarks
Default key bindings (when Orientation is Horizontal):
| Key | Action |
|---|---|
| Left / Right | Moves to the previous or next option. |
| Ctrl+Left / Ctrl+Right | Moves by a larger step. |
Default key bindings (when Orientation is Vertical):
| Key | Action |
|---|---|
| Up / Down | Moves to the previous or next option. |
| Ctrl+Up / Ctrl+Down | Moves by a larger step. |
Common key bindings (both orientations):
| Key | Action |
|---|---|
| Home / End | Moves to the first or last option. |
| Enter | Accepts the current selection (Accept). |
| Space | Activates the current selection (Activate). |
Constructors
- LinearRange()
Initializes a new instance of the LinearRange class.
- LinearRange(List<object>, Orientation)
Initializes a new instance of the LinearRange class.
Properties
- DefaultCursorStyle
Gets or sets the default cursor style.