From 60676b6387358adb25fd6fc00510650ccad5b51d Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Sat, 22 Aug 2009 16:26:52 +0000 Subject: [PATCH] removed Drag and Drop functionality from XamlOutlineNode git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4756 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61 --- .../XamlBinding/XamlBinding/XamlOutlineContentHost.xaml | 3 --- .../XamlBinding/XamlBinding/XamlOutlineNode.cs | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/AddIns/BackendBindings/XamlBinding/XamlBinding/XamlOutlineContentHost.xaml b/src/AddIns/BackendBindings/XamlBinding/XamlBinding/XamlOutlineContentHost.xaml index 5eff6f8f50..55d8591cd9 100644 --- a/src/AddIns/BackendBindings/XamlBinding/XamlBinding/XamlOutlineContentHost.xaml +++ b/src/AddIns/BackendBindings/XamlBinding/XamlBinding/XamlOutlineContentHost.xaml @@ -3,9 +3,6 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:treeview="http://icsharpcode.net/sharpdevelop/treeview" > - - - node.Parent != null); + return false; //nodes.All(node => node.Parent != null); } public override DropEffect CanDrop(IDataObject data, DropEffect requestedEffect) { - return DropEffect.Move; + return DropEffect.None; //DropEffect.Move; } public override bool CanCopy(SharpTreeNode[] nodes)