WPF Drag DragDrop 拖拽 自定义拖拽 自定义拖拽图标 拖拽图标 拖拽图片

上传者: qq124493482 | 上传时间: 2021-08-18 22:49:26 | 文件大小: 3.39MB | 文件类型: RAR
最开始的源码来自于CodeProject,感谢老外的代码, 但是老外的代码写的太多了,太“罗嗦”,不适合新手、或是初级开发的鸟儿们看、用,于是我没吃中饭,给代码动了手术,把猫腻都干掉了。 功能:Wpf的拖拽功能很好使,但是伴随拖拽的图标确实系统级别的,不能更改,就几个很傻的很小的东西,这个例子就是改这个图标的,比如,你拖拽一个文件夹,这时候跟着鼠标走的不是 一个虚线的小东西,而是一个文件夹,你托一个Button,那么跟着你走的就是一个Button... 跟Windows系统的拖拽一样。而且代码也被我改的很简单,只有一个类。 很好看懂,希望对大家有用。

文件下载

资源详情

[{"title":"( 64 个子文件 3.39MB ) WPF Drag DragDrop 拖拽 自定义拖拽 自定义拖拽图标 拖拽图标 拖拽图片","children":[{"title":"DragDrop","children":[{"title":"WpfApplication1.sln <span style='color:#111;'> 935B </span>","children":null,"spread":false},{"title":"WpfApplication1","children":[{"title":"bin","children":[{"title":"Debug","children":[{"title":"WpfApplication1.vshost.exe <span style='color:#111;'> 13.99KB </span>","children":null,"spread":false},{"title":"WpfApplication1.exe <span style='color:#111;'> 38.50KB </span>","children":null,"spread":false},{"title":"WpfApplication1.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"WpfApplication1.pdb <span style='color:#111;'> 115.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"obj","children":[{"title":"Debug","children":[{"title":"WpfApplication1_MarkupCompile.lref <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"Window2.baml <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"WpfApplication1.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"WpfApplication1.exe <span style='color:#111;'> 38.50KB </span>","children":null,"spread":false},{"title":"Window1.g.cs <span style='color:#111;'> 8.38KB </span>","children":null,"spread":false},{"title":"Window1.baml <span style='color:#111;'> 3.57KB </span>","children":null,"spread":false},{"title":"App.g.cs <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false},{"title":"WpfApplication1.csproj.FileListAbsolute.txt <span style='color:#111;'> 4.81KB </span>","children":null,"spread":false},{"title":"WpfApplication1.csproj.GenerateResource.Cache <span style='color:#111;'> 789B </span>","children":null,"spread":false},{"title":"WpfApplication1.g.resources <span style='color:#111;'> 5.04KB </span>","children":null,"spread":false},{"title":"WpfApplication1.pdb <span style='color:#111;'> 115.50KB </span>","children":null,"spread":false},{"title":"Refactor","children":null,"spread":false},{"title":"TickBarControl","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"Window2.g.cs <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false},{"title":"GeneratedInternalTypeHelper.g.cs <span style='color:#111;'> 7B </span>","children":null,"spread":false},{"title":"WpfApplication1_MarkupCompile.cache <span style='color:#111;'> 249B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"Window1.xaml <span style='color:#111;'> 3.55KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.Designer.cs <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 201B </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false}],"spread":true},{"title":"WpfApplication1.csproj.user <span style='color:#111;'> 168B </span>","children":null,"spread":false},{"title":"CustomDragDropHelper.cs <span style='color:#111;'> 16.90KB </span>","children":null,"spread":false},{"title":"Window2.xaml <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"WpfApplication1.csproj <span style='color:#111;'> 4.97KB </span>","children":null,"spread":false},{"title":"TickBarControl","children":[{"title":"DoubleUtil.cs <span style='color:#111;'> 5.39KB </span>","children":null,"spread":false},{"title":"TickBarControl.cs <span style='color:#111;'> 22.70KB </span>","children":null,"spread":false}],"spread":true},{"title":"App.xaml <span style='color:#111;'> 296B </span>","children":null,"spread":false},{"title":"Window2.xaml.cs <span style='color:#111;'> 2.87KB </span>","children":null,"spread":false},{"title":"App.xaml.cs <span style='color:#111;'> 311B </span>","children":null,"spread":false},{"title":"Window1.xaml.cs <span style='color:#111;'> 9.27KB </span>","children":null,"spread":false}],"spread":false},{"title":"WpfApplication1.suo <span style='color:#111;'> 33.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"自定义窗体_maxminClose.rar <span style='color:#111;'> 32.31KB </span>","children":null,"spread":false},{"title":"Wyq_HitTestCore_upload","children":[{"title":"Wyq_HitTestCore","children":[{"title":"bin","children":[{"title":"Debug","children":[{"title":"Wyq_HitTestCore.pdb <span style='color:#111;'> 31.50KB </span>","children":null,"spread":false},{"title":"Wyq_HitTestCore.exe <span style='color:#111;'> 2.60MB </span>","children":null,"spread":false},{"title":"Wyq_HitTestCore.vshost.exe <span style='color:#111;'> 13.99KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"obj","children":[{"title":"Debug","children":[{"title":"Wyq_HitTestCore.csproj.FileListAbsolute.txt <span style='color:#111;'> 3.52KB </span>","children":null,"spread":false},{"title":"Wyq_HitTestCore.csproj.GenerateResource.Cache <span style='color:#111;'> 789B </span>","children":null,"spread":false},{"title":"Wyq_HitTestCore.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"Wyq_HitTestCore.pdb <span style='color:#111;'> 31.50KB </span>","children":null,"spread":false},{"title":"Window1.g.cs <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false},{"title":"Window1.baml <span style='color:#111;'> 687B </span>","children":null,"spread":false},{"title":"App.g.cs <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false},{"title":"Wyq_HitTestCore.exe <span style='color:#111;'> 2.60MB </span>","children":null,"spread":false},{"title":"Refactor","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"Wyq_HitTestCore.g.resources <span style='color:#111;'> 2.59MB </span>","children":null,"spread":false},{"title":"Wyq_HitTestCore_MarkupCompile.cache <span style='color:#111;'> 323B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"dd.txt <span style='color:#111;'> 2.59MB </span>","children":null,"spread":false},{"title":"Window1.xaml <span style='color:#111;'> 330B </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.Designer.cs <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 201B </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"Wyq_HitTestCore.csproj <span style='color:#111;'> 4.55KB </span>","children":null,"spread":false},{"title":"App.xaml <span style='color:#111;'> 296B </span>","children":null,"spread":false},{"title":"App.xaml.cs <span style='color:#111;'> 311B </span>","children":null,"spread":false},{"title":"Window1.xaml.cs <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"Wyq_HitTestCore.csproj.user <span style='color:#111;'> 168B </span>","children":null,"spread":false}],"spread":true},{"title":"Wyq_HitTestCore.sln <span style='color:#111;'> 935B </span>","children":null,"spread":false},{"title":"Wyq_HitTestCore.suo <span style='color:#111;'> 30.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • fc213 :
    代码太乱,拖拽效果不好,下载积分太高。
    2021-03-30
  • jiangping1989 :
    资源还可以,对编码有帮助,截取了自己需要用的。就是分数太高了点。
    2020-10-16
  • u010575224 :
    作者描述比较正确
    2019-06-19
  • shileigong :
    非常好,对我非常有帮助
    2018-05-24
  • qq_28868057 :
    下载下来试试。
    2018-05-09

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明