System.Windows.Forms.TrackBar.SmallChange Property

Gets or sets the value added to or subtracted from the TrackBar.Value property when the scroll box is moved a small distance.

Syntax

[System.ComponentModel.DefaultValue(1)]
public int SmallChange { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

When the user presses one of the arrow keys, the TrackBar.Value property changes according to the value set in the TrackBar.SmallChange property.

You might consider setting the value of TrackBar.SmallChange to a percentage of the value of the Control.Height (for a vertically oriented track bar) or Control.Width (for a horizontally oriented track bar) property. This sets the distance your track bar moves proportionate to its size.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0