RepositoryItemTrackBar.SmallChange Property
Gets or sets a value to be added to or subtracted from the current value when you use the ARROW keys, mouse wheel and TrackBarControl.MoveLeft/TrackBarControl.MoveRight methods.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Int32 | 1 | An integer value that specifies the small change. |
Remarks
The TrackBarControl increments/decrements the current value (TrackBarControl.Value) by the SmallChange value in the following cases:
- A user presses one of the ARROW keys.
- A user scrolls the mouse wheel, provided that the RepositoryItemTrackBar.SmallChangeUseMode property is set to ArrowKeysAndMouse.
- You call the TrackBarControl.MoveLeft or TrackBarControl.MoveRight method.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the SmallChange property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.