WindowsFormsSettings.DragScrollThumbBeyondControlThreshold Property

Gets or sets the threshold, in pixels, beyond which the previous scroll bar thumb position is restored. This property is in effect in the RestoreThumbPosition mode. This is a static property.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v20.1.dll

Declaration

public static int DragScrollThumbBeyondControlThreshold { get; set; }
Public Shared Property DragScrollThumbBeyondControlThreshold As Integer

Property Value

Type Description
Int32

An integer value that specifies the threshold, in pixels, beyond which the previous scroll bar thumb position is restored. The default value is 50 pixels.

Remarks

If the RestoreThumbPosition mode is enabled (see WindowsFormsSettings.DragScrollThumbBeyondControlMode), the WindowsFormsSettings.DragScrollThumbBeyondControlThreshold property allows you to specify the threshold, in pixels, beyond which the previous scroll bar thumb position is restored.

See Also