A newer version of this page is available. Switch to the current version.

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.v19.1.dll

Declaration

public static int DragScrollThumbBeyondControlThreshold { get; set; }

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