Skip to main content

ItemDragEventArgs

Namespace: Wisej.Web.Ext.DevExtreme

Assembly: Wisej.Web.Ext.DevExtreme (4.1.0.0)

Provides data for the ItemDragEnd event of the dxKanban control.

public class ItemDragEventArgs : EventArgs

Constructors​

Instance member ItemDragEventArgs(fromGroup, toGroup, item)​

Initializes a new instance of the ItemDragEventArgs class.

NameTypeDescription
fromGroupGroupThe group the item was dragged from.
toGroupGroupThe group the item was dropped in.
itemItemThe dragged item.

Example:

The following example calls the ItemDragEnd handler of the form with the first card of the first column, as if it had been dropped in the second column.

var from = this.dxKanban1.Groups[0];
var to = this.dxKanban1.Groups[1];
var args = new dxKanban.ItemDragEventArgs(from, to, from.Items[0]);
dxKanban1_ItemDragEnd(this.dxKanban1, args);

Properties​

Instance member FromGroup​

Group: Returns the group the item was dragged from.

Instance member Item​

Item: Returns the dragged item.

Instance member ToGroup​

Group: Returns the group the item was dropped in.

When the item is dropped in the group it was dragged from, ToGroup and FromGroup return the same group.

Used By​

NameDescription
dxKanban.ItemDragEventHandlerRepresents the method that will handle the ItemDragEnd event of the dxKanban control.