Esempio n. 1
0
 protected internal virtual void OnDragFinished(DragFinishedEventArgs args)
 {
     if (currentDragOperation != null) {
         var dop = currentDragOperation;
         currentDragOperation = null;
         dop.NotifyFinished (args);
     }
 }
Esempio n. 2
0
 protected DragStartData InternalDragStarted()
 {
     DragStartedEventArgs args = new DragStartedEventArgs ();
     args.DragOperation = new DragOperation (this);
     currentDragOperation = args.DragOperation;
     OnDragStarted (args);
     return args.DragOperation.GetStartData ();
 }
Esempio n. 3
0
 public DragOperation CreateDragOperation()
 {
     currentDragOperation = new DragOperation (this);
     return currentDragOperation;
 }