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