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.
- C#
- VB.NET
public class ItemEventArgs : EventArgs
Public Class ItemEventArgs
Inherits EventArgs
Constructors
ItemEventArgs(groupId, itemId)
Initializes a new instance of the ItemEventArgs class.
| Name | Type | Description |
|---|---|---|
| groupId | String | The ID of the group that contains the item. |
| itemId | String | The 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
GroupId
String: Gets or sets the ID of the group that contains the item.
ItemID
String: Gets or sets the item ID associated with the event.
Used By
| Name | Description |
|---|---|
| dxKanban.ItemEventHandler | Represents 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. |