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
public static Size DragSize {get;}
public: __property static Size get_DragSize();
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.


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.


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
© 2014 Microsoft