/// <summary> /// Calls <code>dragExit</code> on the registered /// <code>DropTargetListener</code> and passes it /// the specified <code>DropTargetEvent</code>. /// Has no effect if this <code>DropTarget</code> /// is not active. /// <para> /// This method itself does not throw any exception /// for null parameter but for exceptions thrown by /// the respective method of the listener. /// /// </para> /// </summary> /// <param name="dte"> the <code>DropTargetEvent</code> /// </param> /// <seealso cref= #isActive </seealso> public virtual void DragExit(DropTargetEvent dte) { lock (this) { IsDraggingInside = false; if (!Active_Renamed) { return; } if (DtListener != null && Active_Renamed) { DtListener.DragExit(dte); } ClearAutoscroll(); } }
/// <summary> /// The <code>DropTarget</code> intercepts /// dragExit() notifications before the /// registered <code>DropTargetListener</code> gets them. /// </summary> public void dragExit(DropTargetEvent @dte) { }