A newer version of this page is available. Switch to the current version.

RepositoryItemTrackBar.SmallChange Property

Gets or sets a value to be added to or subtracted from the TrackBarControl.Value property when scrolling using the keyboard arrow keys (and the mouse wheel, provided that RepositoryItemTrackBar.SmallChangeUseMode is set to ArrowKeysAndMouse).

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.2.dll


public int SmallChange { get; set; }

Property Value

Type Default Description


An integer value that specifies the small change.


When a user presses one of the arrow keys or if the TrackBarControl.MoveLeft/TrackBarControl.MoveRight method is called, the TrackBarControl.Value property changes according to the value set in the SmallChange property.

The SmallChange property can be set to a percentage of the Height (for a vertically oriented track bar) or Width (for a horizontally oriented track bar) value. This keeps the distance your track bar moves proportionate to its size.

Set the RepositoryItemTrackBar.SmallChangeUseMode property to ArrowKeysAndMouse to allow the control to be additionally scrolled by the SmallChange amount when using the mouse wheel.

See Also