FlowLayoutProperties.ItemDragMode Property

Gets or sets the widget drag mode for this WidgetView.

Namespace: DevExpress.XtraBars.Docking2010.Views.Widget

Assembly: DevExpress.XtraBars.v21.2.dll


public ItemDragMode ItemDragMode { get; set; }

Property Value

Type Default Description


A DevExpress.XtraBars.Docking2010.Views.Widget.ItemDragMode enumerator value that specifies the widget drag mode for this WidgetView.


Widgets within a Flow Layout WidgetView can be moved in two ways, depending on the ItemDragMode property value.

  • Move mode (default behavior) - end-user can drop a widget before or after any other widget. This causes other widgets to slide forward or backward to create space for the dragged widget.
  • Swap mode - end-user can drop a widget upon another widget, which will cause these widgets to swap their positions.

See the Widget View topic to learn more.

See Also