diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-03-06 16:53:23 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-03-06 16:53:23 +0100 |
| commit | 8c42e8eb2016ca433cc7adea278a27800f9f0050 (patch) | |
| tree | 2e39b2ac83d5ab0df28544e86490ac9e43473b17 /src/GraphicObjects/GraphicObject.cs | |
| parent | 975df273eafe358482d892c108fbba1fdc5cac1f (diff) | |
tabview drag and drop of tabitem
Diffstat (limited to 'src/GraphicObjects/GraphicObject.cs')
| -rw-r--r-- | src/GraphicObjects/GraphicObject.cs | 9 |
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) |