Пример #1
0
 /// <summary>
 /// Occurs when a drag-and-drop operation is completed.
 /// </summary>
 /// <param name="e"></param>
 public virtual bool OnDragDrop(VCItem sender, ItemDragEventArgs e)
 {
     if (next != null)
     {
         return(next.OnDragDrop(sender, e));
     }
     return(false);
 }
Пример #2
0
        /// <summary>
        /// Occurs when a drag-and-drop operation is completed.
        /// </summary>
        /// <param name="e"></param>
        internal bool OnDragDrop(Handlers.ItemDragEventArgs e)
        {
            bool result = false;

            if (dragDropHandler != null)
            {
                result |= dragDropHandler.OnDragDrop(this, e);
            }
            if (DragDrop != null)
            {
                DragDrop(this, e);
            }
            return(result);
        }