public void End(NSPasteboard aPasteboard, NSDragOperation aOperation) { DraggableData dragData = new DraggableData(aPasteboard); iController.DragEnd(dragData, DragDropManager.Convert(aOperation)); DragDropManager.Current = null; }
public NSDragOperation ValidateDrop(INSDraggingInfo aInfo, object aDestination) { DraggableData dragData = new DraggableData(aInfo.DraggingPasteboard); EDragOperation op = iController.ValidateDrag(dragData, aDestination); return(DragDropManager.Convert(op)); }
public bool AcceptDrop(INSDraggingInfo aInfo, int aIndex, object aDestination) { DraggableData dragData = new DraggableData(aInfo.DraggingPasteboard); return(iController.AcceptDrop(dragData, aIndex, aDestination)); }
public MediaProviderDraggable Convert(IDataObject aDataObject) { DraggableData data = new DraggableData(aDataObject); return(Convert(data)); }