1. <tfoot id='Rbobx'></tfoot>
      <i id='Rbobx'><tr id='Rbobx'><dt id='Rbobx'><q id='Rbobx'><span id='Rbobx'><b id='Rbobx'><form id='Rbobx'><ins id='Rbobx'></ins><ul id='Rbobx'></ul><sub id='Rbobx'></sub></form><legend id='Rbobx'></legend><bdo id='Rbobx'><pre id='Rbobx'><center id='Rbobx'></center></pre></bdo></b><th id='Rbobx'></th></span></q></dt></tr></i><div id='Rbobx'><tfoot id='Rbobx'></tfoot><dl id='Rbobx'><fieldset id='Rbobx'></fieldset></dl></div>

        <legend id='Rbobx'><style id='Rbobx'><dir id='Rbobx'><q id='Rbobx'></q></dir></style></legend>

      1. <small id='Rbobx'></small><noframes id='Rbobx'>

        • <bdo id='Rbobx'></bdo><ul id='Rbobx'></ul>
      2. DoDragDrop 禁用 MouseMove 事件

        时间:2023-08-25
      3. <small id='hKV0Q'></small><noframes id='hKV0Q'>

        <i id='hKV0Q'><tr id='hKV0Q'><dt id='hKV0Q'><q id='hKV0Q'><span id='hKV0Q'><b id='hKV0Q'><form id='hKV0Q'><ins id='hKV0Q'></ins><ul id='hKV0Q'></ul><sub id='hKV0Q'></sub></form><legend id='hKV0Q'></legend><bdo id='hKV0Q'><pre id='hKV0Q'><center id='hKV0Q'></center></pre></bdo></b><th id='hKV0Q'></th></span></q></dt></tr></i><div id='hKV0Q'><tfoot id='hKV0Q'></tfoot><dl id='hKV0Q'><fieldset id='hKV0Q'></fieldset></dl></div>

            <bdo id='hKV0Q'></bdo><ul id='hKV0Q'></ul>
              <tbody id='hKV0Q'></tbody>

              1. <legend id='hKV0Q'><style id='hKV0Q'><dir id='hKV0Q'><q id='hKV0Q'></q></dir></style></legend>

                • <tfoot id='hKV0Q'></tfoot>
                  本文介绍了DoDragDrop 禁用 MouseMove 事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  在开始拖动 &DragDrop.DoDragDrop(...) 的拖放操作不再触发 MouseMove 事件.我什至尝试过

                  After having started a Drag & Drop operation by DragDrop.DoDragDrop(...) no more MouseMove Events are fired. I even tried

                  AddHandler(Window.MouseMoveEvent, new MouseEventHandler(myControl_MouseMove), true); 
                  

                  最后一个参数意味着我什至选择处理已处理的事件.没有机会,似乎 MouseMove 事件根本没有被触发!使用 Drag & 时仍然获得 MouseMove 事件的任何方式降低?我想拖动 &放置一个控件,在拖动该控件时,它应跟随鼠标指针.知道在这种情况下如何做到这一点吗?

                  where the last parameter means I even opt in for handled events. No chance, seems like the MouseMove Event is never fired at all! Any way to still get MouseMove Events while using Drag & Drop? I'd like to Drag & Drop a control, while dragging this control it shall follow the mouse pointer. Any idea how to do this in this case?

                  推荐答案

                  你需要处理 DragOver 事件.

                  You need to handle the DragOver event.

                  编辑:尝试处理 GiveFeedback 事件 在您调用 DoDragDrop 的控件上;这可能会满足您的需求.

                  EDIT: Try handling the GiveFeedback event on the control that you called DoDragDrop on; that might do what you're looking for.

                  这篇关于DoDragDrop 禁用 MouseMove 事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:用鼠标移动画线 下一篇:WPF:将虚拟文件拖放到 Windows 资源管理器中

                  相关文章

                  最新文章

                • <tfoot id='oFefr'></tfoot>

                  <small id='oFefr'></small><noframes id='oFefr'>

                  <legend id='oFefr'><style id='oFefr'><dir id='oFefr'><q id='oFefr'></q></dir></style></legend>

                        <bdo id='oFefr'></bdo><ul id='oFefr'></ul>
                      <i id='oFefr'><tr id='oFefr'><dt id='oFefr'><q id='oFefr'><span id='oFefr'><b id='oFefr'><form id='oFefr'><ins id='oFefr'></ins><ul id='oFefr'></ul><sub id='oFefr'></sub></form><legend id='oFefr'></legend><bdo id='oFefr'><pre id='oFefr'><center id='oFefr'></center></pre></bdo></b><th id='oFefr'></th></span></q></dt></tr></i><div id='oFefr'><tfoot id='oFefr'></tfoot><dl id='oFefr'><fieldset id='oFefr'></fieldset></dl></div>