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