RepositoryItemTrackBar.SmallChangeUseMode Property
Gets or sets the way end-users can move this track bar’s thumb backwards or forwards with a specific ‘small change’ value.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
[DXCategory("Appearance")]
public virtual SmallChangeUseMode SmallChangeUseMode { get; set; }
Property Value
Type | Description |
---|---|
DevExpress.XtraEditors.Repository.SmallChangeUseMode | A DevExpress.XtraEditors.Repository.SmallChangeUseMode enumerator value that specifies the way end-users can move this track bar’s thumb backwards or forwards by a specific ‘small change’ value. |
Remarks
You can specify the RepositoryItemTrackBar.SmallChange property to force the track bar thumb to move forwards or backwards, changing the editor value (TrackBarControl.Value) by a specific number greater than the default 1. Depending on the SmallChangeUseMode property value, this thumb behavior can be activated in two cases.
- ArrowKeys - the default behavior, where end-users are allowed to move the track bar thumb by the small change value span only by pressing the keyboard arrow keys. In this mode, scrolling the mouse wheel moves the thumb step-by-step, gradually increasing or decreasing the editor’s value by 1 regardless of the RepositoryItemTrackBar.SmallChange property value.
- ArrowKeysAndMouse - both mouse wheel scrolling and pressing arrow keys will move the thumb by the RepositoryItemTrackBar.SmallChange value.