---
title: "Interface IFileDropTargetControl"
url: "https://reference.aspose.com/email/net/aspose.email.windows.forms/ifiledroptargetcontrol/"
product: "Aspose.Email for .NET API Reference"
description: "Aspose.Email.Windows.Forms.IFileDropTargetControl interface. Defines a interface for controls that can be target of drag and drop"
---

## IFileDropTargetControl interface

Defines a interface for controls that can be target of drag and drop.

```csharp
public interface IFileDropTargetControl
```

## Properties

| Name | Description |
| --- | --- |
| [AllowDrop](../../aspose.email.windows.forms/ifiledroptargetcontrol/allowdrop/) { get; set; } | Gets or sets a value indicating whether the control can accept data that the user drags onto it. |
| [Handle](../../aspose.email.windows.forms/ifiledroptargetcontrol/handle/) { get; } | Contains the window handle (HWND) of the control. |

## Methods

| Name | Description |
| --- | --- |
| [OnDragDrop](../../aspose.email.windows.forms/ifiledroptargetcontrol/ondragdrop/)(DragEventArgs) | Raises the DragDrop event. |
| [OnDragEnter](../../aspose.email.windows.forms/ifiledroptargetcontrol/ondragenter/)(DragEventArgs) | Raises the DragEnter event. |
| [OnDragLeave](../../aspose.email.windows.forms/ifiledroptargetcontrol/ondragleave/)(EventArgs) | Raises the DragLeave event. |
| [OnDragOver](../../aspose.email.windows.forms/ifiledroptargetcontrol/ondragover/)(DragEventArgs) | Raises the DragOver event. |

### See Also

* namespace [Aspose.Email.Windows.Forms](../../aspose.email.windows.forms/)
* assembly [Aspose.Email](../../)


