Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Win.Navigation

#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