RepositoryItemTrackBar.LargeChange Property

Gets or sets a value to be added to or subtracted from the TrackBarControl.Value property when the scroll box is moved a large distance.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DefaultValue(5)]
[DXCategory("Behavior")]
public int LargeChange { get; set; }
<DefaultValue(5)>
<DXCategory("Behavior")>
Public Property LargeChange As Integer

Property Value

Type Default Description
Int32

5

An integer value that specifies the large change.

Remarks

When the user presses the PAGE UP or PAGE DOWN key, clicks the track bar on either side of the scroll box or if the TrackBarControl.MoveLargeLeft/TrackBarControl.MoveLargeRight method is called, the TrackBarControl.Value property changes according to the value set in the LargeChange property.

The LargeChange 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.

See Also