xtd 0.2.0
Loading...
Searching...
No Matches

◆ drag_size()

static xtd::drawing::size xtd::forms::system_information::drag_size ( )
static

Gets the width and height of a rectangle centered on the point the mouse button was pressed, within which a drag operation will not begin.

Returns
A size that specifies the area of a rectangle, in pixels, centered on the point the mouse button was pressed, within which a drag operation will not begin.
Remarks
The drag_size property indicates the size, in pixels, of a rectangle centered around the point at which the mouse button was pressed. Windows uses the rectangle as a boundary within which it does not start a drag operation.
A user can hold a mouse button down and move the mouse within this area before a drag operation begins, which enables the user to click and release the mouse button easily without unintentionally starting a drag operation.