Esempio n. 1
0
        public override void StartDrag(UIElement underCursor)
        {
            ToolboxItem item = underCursor as ToolboxItem;

            if (item == null)
            {
                return;
            }
            var copy = Factory.CreateControl(item.Title);

            DragManager.StartDrag(this, underCursor);
            DragManager.DraggedElement = copy;
        }
Esempio n. 2
0
 public virtual void StartDrag(UIElement result)
 {
     DragManager.StartDrag(this, result);
 }