windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemtrackbar-f87efc00.md
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.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(1)]
[DXCategory("Behavior")]
public int SmallChange { get; set; }
<DefaultValue(1)>
<DXCategory("Behavior")>
Public Property SmallChange As Integer
| Type | Default | Description |
|---|---|---|
| Int32 | 1 |
An integer value that specifies the small change.
|
The TrackBarControl increments/decrements the current value (TrackBarControl.Value) by the SmallChange value in the following cases:
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.
this.tbProgress.Properties.Maximum = AppointmentProcessValues.Max;
this.tbProgress.Properties.SmallChange = AppointmentProcessValues.Step;
this.edtResources.Visible = true;
winforms-scheduler-custom-appointment-edit-form/CS/SchedulerDbExample/CustomAppointmentForm.cs#L121
this.tbProgress.Properties.Maximum = AppointmentProcessValues.Max;
this.tbProgress.Properties.SmallChange = AppointmentProcessValues.Step;
this.edtResources.Visible = true;
Me.tbProgress.Properties.Maximum = AppointmentProcessValues.Max
Me.tbProgress.Properties.SmallChange = AppointmentProcessValues.[Step]
Me.edtResources.Visible = True
winforms-scheduler-custom-appointment-edit-form/VB/SchedulerDbExample/CustomAppointmentForm.vb#L172
Me.tbProgress.Properties.Maximum = AppointmentProcessValues.Max
Me.tbProgress.Properties.SmallChange = AppointmentProcessValues.Step
Me.edtResources.Visible = True
See Also