---
title: "ItemDragEventArgs..::.MouseButton Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_ItemDragEventArgs_MouseButton.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.MouseButton Property 
 
Gets the mouse button that was clicked during the drag operation.
 
**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 ReadOnly Property MouseButton As MouseButtons
```
 
```csharp
public MouseButtons MouseButton { get; }
```
 
### Property Value
 [MouseButtons](http://msdn2.microsoft.com/en-us/53t1tw1k) value that specifies the mouse button that was clicked during the drag operation.
   
## 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)
