# DragEventArgs class

Namespace: [Eto.Forms](https://eto.picoe.ca/api/namespace/eto.forms.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md)

```cs
public class DragEventArgs : EventArgs
```

Drag/Drop event arguments.

## Constructors

- [DragEventArgs](https://eto.picoe.ca/api/type/eto.forms.drageventargs/ctor.md): Initializes a new instance of the [DragEventArgs](https://eto.picoe.ca/api/type/eto.forms.drageventargs.md) class.

## Properties

- [AllowedEffects](https://eto.picoe.ca/api/type/eto.forms.drageventargs/allowedeffects.md): Gets allowed drag/drop operation.
- [Buttons](https://eto.picoe.ca/api/type/eto.forms.drageventargs/buttons.md): The mouse buttons pressed during the drag
- [ControlObject](https://eto.picoe.ca/api/type/eto.forms.drageventargs/controlobject.md): Gets the instance of the platform-specific object associated with the drag event
- [Data](https://eto.picoe.ca/api/type/eto.forms.drageventargs/data.md): Gets drag data.
- [Effects](https://eto.picoe.ca/api/type/eto.forms.drageventargs/effects.md): Gets or sets target drag/drop operation.
- [Location](https://eto.picoe.ca/api/type/eto.forms.drageventargs/location.md): Location of the cursor in control coordinates
- [Modifiers](https://eto.picoe.ca/api/type/eto.forms.drageventargs/modifiers.md): Modifier keys pressed
- [Source](https://eto.picoe.ca/api/type/eto.forms.drageventargs/source.md): Gets source control of drag operation.
- [SupportsDropDescription](https://eto.picoe.ca/api/type/eto.forms.drageventargs/supportsdropdescription.md): Gets a value indicating that the [DragEventArgs.SetDropDescription(string, string)](https://eto.picoe.ca/api/type/eto.forms.drageventargs/setdropdescription.md) method is supported for the current drag/drop operation.

## Methods

- [SetDropDescription](https://eto.picoe.ca/api/type/eto.forms.drageventargs/setdropdescription.md): Sets the drop description when dragging overtop your control to specify additional context of what will be done.
