<bdo id='bvSr1'></bdo><ul id='bvSr1'></ul>

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

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

        WPF 的拖放列表框

        Drag and Drop ListBox for WPF(WPF 的拖放列表框)

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

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

                <tbody id='rTWmy'></tbody>
              <tfoot id='rTWmy'></tfoot>
            1. <legend id='rTWmy'><style id='rTWmy'><dir id='rTWmy'><q id='rTWmy'></q></dir></style></legend>

              • <bdo id='rTWmy'></bdo><ul id='rTWmy'></ul>
                • 本文介绍了WPF 的拖放列表框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在寻找一个简单的 ListBox 内置 Drag &降低.我认为 Silverlight 4 Toolkit 具有 类似的东西.

                  I'm looking for just a simple ListBox with build-in Drag & Drop. I think that Silverlight 4 Toolkit has something like that.

                  BoxList应该能够:

                  • 通过拖动 &掉落物品
                  • 将项目从一个BoxList拖到另一个
                  • 显示拖拽项目的预览(幻影版)
                  • 显示放置位置(如将插入拖动的项目之间的一条线)

                  我希望微软有一些解决方案(例如在工具包中),但如果没有,我对任何可行的解决方案都很满意.例如,我徘徊在 DataGrid 列标题重新排序(通过拖放它们)实现中使用了什么控件.

                  I hope there is some solution from microsoft (in toolkit for example), but if not I all be happy with any working solution. For example I wander what control was used in DataGrid column headers reordering (by dragging and dropping them) implementation.

                  感谢您的任何建议

                  请不要建议商业控制.这不是商业项目,我不想买.谢谢

                  Please do not suggest commercial controls. This is not for a commercial project and I don't want to buy it. Thank you

                  推荐答案

                  ListBox中的build可以实现拖放,你只需要处理拖放操作即可.

                  The build in ListBox can implement drag and drop, you just have to handle the drag and drop operations.

                  我使用 going-wpf-dragdrop 库

                  它还包含在 WPF 应用程序中使用它的示例

                  It also contains examples of using it within a WPF application

                  这篇关于WPF 的拖放列表框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Multicast delegate weird behavior in C#?(C# 中的多播委托奇怪行为?)
                  How to store delegates in a List(如何将代表存储在列表中)
                  Delegate.CreateDelegate() and generics: Error binding to target method(Delegate.CreateDelegate() 和泛型:错误绑定到目标方法)
                  CreateDelegate with unknown types(具有未知类型的 CreateDelegate)
                  Does Funclt;Tgt;.BeginInvoke use the ThreadPool?(Funclt;Tgt;.BeginInvoke 使用线程池吗?)
                  How to create a delegate to an instance method with a null target?(如何为具有空目标的实例方法创建委托?)
                    • <bdo id='V5lrP'></bdo><ul id='V5lrP'></ul>

                      <tfoot id='V5lrP'></tfoot>

                        <tbody id='V5lrP'></tbody>

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

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