---
title: "ItemDragEventArgs Constructor "
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_WinControls_ItemDragEventArgs_ctor_2_72d637eb.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# ItemDragEventArgs Constructor 
 
Creates and initializes new [ItemDragEventArgs](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ItemDragEventArgs.htm.md) class instance.
 
**Namespace:** [Aurigma.GraphicsMill.WinControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)
 
## Syntax
  
```
Public Sub New ( _mouseButton As MouseButtons, _item As IListItem _
)
```
 
```csharp
public ItemDragEventArgs(MouseButtons mouseButton,IListItem item
)
```
 
### Parameters
 
 - mouseButton
     - Type: [System.Windows.Forms.MouseButtons](http://msdn2.microsoft.com/en-us/53t1tw1k)
 [MouseButtons](http://msdn2.microsoft.com/en-us/53t1tw1k) value that specifies the mouse button that was clicked during the drag operation.

 - item
     - Type: [Aurigma.GraphicsMill.WinControls.IListItem](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_IListItem.htm.md)
The list object item which is being dragged.
   
## See Also

### Reference

- [ItemDragEventArgs Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ItemDragEventArgs.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
