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