Skip to main content

ScrollBarBase.SmallChange Property

Gets or sets the value by which the ScrollBarBase.Value property changes when the user presses one of the arrow keys or clicks one of the scroll-bar buttons.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.2.dll

Declaration

[DefaultValue(1)]
[DXCategory("Behavior")]
public int SmallChange { get; set; }

Property Value

Type Default Description
Int32 1

An integer value by which the ScrollBarBase.Value property changes.

Remarks

Scroll bars provide easy navigation through a long list of items or a large amount of information by scrolling horizontally and/or vertically within an application or control. When the user presses one of the arrow keys or clicks one of the scroll bar buttons, the ScrollBarBase.Value property representing the scroll box’s position is incremented/decremented according to the SmallChange property value.

Use the ScrollBarBase.LargeChange property to specify the value by which the ScrollBarBase.Value property changes when the user presses the PAGE UP or PAGE DOWN key or clicks in the scroll bar track on either side of the scroll box.

The ScrollBarBase.Scroll and ScrollBarBase.ValueChanged events fire each time the scroll box has been moved by a mouse or keyboard action.

See Also