/// <summary> /// Copies a JObject into a JArray as first child. /// </summary> /// <param name="sourceNode"></param> /// <param name="targetNode"></param> private void DoDragDropMove(JObjectTreeNode sourceNode, JArrayTreeNode targetNode) { sourceNode.ClipboardCut(); targetNode.ClipboardPasteInto(); }
/// <summary> /// Copies a JArray into a JArray as first child. /// </summary> /// <param name="sourceNode"></param> /// <param name="targetNode"></param> private void DoDragDropCopy(JArrayTreeNode sourceNode, JArrayTreeNode targetNode) { sourceNode.ClipboardCopy(); targetNode.ClipboardPasteInto(); }