Back to Devexpress

RepositoryItem.DragLeave Event

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitem-02c812d1.md

latest1.7 KB
Original Source

RepositoryItem.DragLeave Event

Fires when a dragged object leaves the editor’s area.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Events")]
public event EventHandler DragLeave
vb
<DXCategory("Events")>
Public Event DragLeave As EventHandler

Event Data

The DragLeave event's data class is EventArgs.

Remarks

The DragLeave event fires when the mouse pointer leaves the control provided that dragging is being performed. The event is used for notification purposes only and cannot be used to control drag and drop operations. For instance, this event can be handled in combination with the RepositoryItem.DragEnter event to display explanatory messages to end-users.

See Also

DragEnter

DragOver

RepositoryItem Class

RepositoryItem Members

DevExpress.XtraEditors.Repository Namespace