Gets or sets the distance in pixels that the mouse must move before a drag operation starts.

Namespace:  C1.WPF
Assembly:  C1.WPF (in C1.WPF.dll)

Syntax

C#
[DefaultValueAttribute(8)]
public int DragThreshold { get; set; }
Visual Basic
<DefaultValueAttribute(8)> _
Public Property DragThreshold As Integer
	Get
	Set

Remarks

This property affects the drag behavior of objects registered as drag sources using the RegisterDragSource(UIElement, DragDropEffect, ModifierKeys) method.

The default value for this property is 8.

See Also