Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SystemInformation.DragSize Property

Gets the dimensions, in pixels, of the rectangle that a drag operation must extend to be considered a drag operation. The rectangle is centered on a drag point.

[Visual Basic]
Public Shared ReadOnly Property DragSize As Size
[C#]
public static Size DragSize {get;}
[C++]
public: __property static Size get_DragSize();
[JScript]
public static function get DragSize() : Size;

Property Value

A Size that specifies the rectangle, in pixels, that a drag operation must extend to be considered a drag operation.

Remarks

Use DragSize to determine the size of the rectangle that Windows uses as a boundary before starting a drag operation. This rectangle allows limited movement before a drag operation begins, enabling the user to click and release the mouse button easily without unintentionally starting a drag operation.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

SystemInformation Class | SystemInformation Members | System.Windows.Forms Namespace | SystemInformation | Size

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft