aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/GraphicObject.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-03-06 16:53:23 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-03-06 16:53:23 +0100
commit8c42e8eb2016ca433cc7adea278a27800f9f0050 (patch)
tree2e39b2ac83d5ab0df28544e86490ac9e43473b17 /src/GraphicObjects/GraphicObject.cs
parent975df273eafe358482d892c108fbba1fdc5cac1f (diff)
tabview drag and drop of tabitem
Diffstat (limited to 'src/GraphicObjects/GraphicObject.cs')
-rw-r--r--src/GraphicObjects/GraphicObject.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/GraphicObjects/GraphicObject.cs b/src/GraphicObjects/GraphicObject.cs
index f6778e34..1e35f5b8 100644
--- a/src/GraphicObjects/GraphicObject.cs
+++ b/src/GraphicObjects/GraphicObject.cs
@@ -1266,6 +1266,10 @@ namespace Crow
//e.DropTarget.onDragLeave (this, e);//raise drag leave in target
Debug.WriteLine(this.ToString() + " : DROP => " + e.ToString());
}
+ public virtual void OnDragMove(object sender, MouseMoveEventArgs e, DragDropEventArgs dde)
+ {
+
+ }
public bool IsDropTarget {
get { return IFace.DragAndDropOperation?.DropTarget == this; }
}
@@ -1709,6 +1713,11 @@ namespace Crow
}
}
+ //dont bubble event if dragged, mouse move is routed directely from iface
+ //to let other control behind have mouse entering
+ if (isDragged)
+ return;
+
//bubble event to the top
GraphicObject p = focusParent;
if (p != null)