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.
- C#
- VB.NET
public class ItemDragEventArgs : EventArgs
Public Class ItemDragEventArgs
Inherits EventArgs
Constructors
ItemDragEventArgs(fromGroup, toGroup, item)
Initializes a new instance of the ItemDragEventArgs class.
| Name | Type | Description |
|---|---|---|
| fromGroup | Group | The group the item was dragged from. |
| toGroup | Group | The group the item was dropped in. |
| item | Item | The 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
FromGroup
Group: Returns the group the item was dragged from.
Item
Item: Returns the dragged item.
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
| Name | Description |
|---|---|
| dxKanban.ItemDragEventHandler | Represents the method that will handle the ItemDragEnd event of the dxKanban control. |