Skip to main content

TileControl.DragSize Property

Gets or sets the horizontal and vertical distance in pixels that an end-user must drag a TileItem before the drag operation starts.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

[DXCategory("Behavior")]
public Size DragSize { get; set; }

Property Value

Type Description
Size

A Size structure that specifies the horizontal and vertical distance in pixels that an end-user must drag a TileItem before the drag operation starts.

Remarks

After a TileItem is pressed at runtime, an end-user can drag this TileItem to re-arrange it within the current TileGroup or move it to another TileGroup. This drag operation does not begin immediately as the mouse pointer is moved. It is required to drag the pointer further than the horizontal and vertical distance specified via the DragSize property to start dragging. This behavior prevents unwanted TileItem movement, mostly commonly experienced on touch-input devices.

By default, the DragSize property equals 0, 0. If so, the drag size equals the system drag size property value.

See Also