Skip to main content

ItemEventArgs

Namespace: Wisej.Web.Ext.DevExtreme

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

Provides data for an event that refers to an item of the dxKanban control by the IDs of the item and of its group.

public class ItemEventArgs : EventArgs

Constructors​

Instance member ItemEventArgs(groupId, itemId)​

Initializes a new instance of the ItemEventArgs class.

NameTypeDescription
groupIdStringThe ID of the group that contains the item.
itemIdStringThe item ID associated with the event.

Example:

The following example declares an event that passes the IDs of the card clicked by the user, and fires it from the ItemClick handler of the form.

public event dxKanban.ItemEventHandler TaskSelected;

private void dxKanban1_ItemClick(object sender, dxKanban.ItemClickEventArgs e)
{
TaskSelected?.Invoke(this, new dxKanban.ItemEventArgs(e.Group.ID, e.Item.ID));
}

Properties​

Instance member GroupId​

String: Gets or sets the ID of the group that contains the item.

Instance member ItemID​

String: Gets or sets the item ID associated with the event.

Used By​

NameDescription
dxKanban.ItemEventHandlerRepresents the method that will handle an event that refers to an item of the dxKanban control by the IDs of the item and of its group.