WPF InkCanvas笔画圈选移动功能

上传者: elie_yang | 上传时间: 2021-04-19 20:32:20 | 文件大小: 38KB | 文件类型: 7Z
项目开发需要,用到了WPF原生提供的InkCanvas控件,也有叫水墨控件。 需要开发的功能为鼠标光标随意圈选笔画,选中完成后移动圈选的笔画到画布其他地方,本人原创代码,供参考!

文件下载

资源详情

[{"title":"( 34 个子文件 38KB ) WPF InkCanvas笔画圈选移动功能","children":[{"title":"WpfApplication2","children":[{"title":"Adorner","children":[{"title":"LassoAdorner.cs <span style='color:#111;'> 19.83KB </span>","children":null,"spread":false}],"spread":true},{"title":"App.xaml.cs <span style='color:#111;'> 317B </span>","children":null,"spread":false},{"title":"MainWindow.xaml.cs <span style='color:#111;'> 5.91KB </span>","children":null,"spread":false},{"title":"app.config <span style='color:#111;'> 144B </span>","children":null,"spread":false},{"title":"MainWindow.xaml <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Settings.settings <span style='color:#111;'> 201B </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"App.xaml <span style='color:#111;'> 326B </span>","children":null,"spread":false},{"title":"WpfApplication2.csproj <span style='color:#111;'> 4.29KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"x86","children":[{"title":"Debug","children":[{"title":"WpfApplication2_MarkupCompile.cache <span style='color:#111;'> 349B </span>","children":null,"spread":false},{"title":"WpfApplication2.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"WpfApplication2.csproj.GenerateResource.Cache <span style='color:#111;'> 917B </span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Properties.Resources.Designer.cs.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"WpfApplication2_MarkupCompile.i.cache <span style='color:#111;'> 347B </span>","children":null,"spread":false},{"title":"MainWindow.g.cs <span style='color:#111;'> 6.11KB </span>","children":null,"spread":false},{"title":"WpfApplication2.g.resources <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.27KB </span>","children":null,"spread":false},{"title":"App.g.i.cs <span style='color:#111;'> 2.27KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 16.41KB </span>","children":null,"spread":false},{"title":"WpfApplication2.pdb <span style='color:#111;'> 55.50KB </span>","children":null,"spread":false},{"title":"WpfApplication2.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"MainWindow.baml <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"WpfApplication2.exe <span style='color:#111;'> 23.00KB </span>","children":null,"spread":false},{"title":"App.g.cs <span style='color:#111;'> 2.27KB </span>","children":null,"spread":false},{"title":"MainWindow.g.i.cs <span style='color:#111;'> 6.11KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"WpfApplication2.exe.config <span style='color:#111;'> 144B </span>","children":null,"spread":false},{"title":"WpfApplication2.vshost.exe <span style='color:#111;'> 11.33KB </span>","children":null,"spread":false},{"title":"WpfApplication2.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"WpfApplication2.vshost.exe.config <span style='color:#111;'> 144B </span>","children":null,"spread":false},{"title":"WpfApplication2.pdb <span style='color:#111;'> 55.50KB </span>","children":null,"spread":false},{"title":"WpfApplication2.exe <span style='color:#111;'> 23.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • myangells :
    不错,inkcanvas基本功能差不多都有了
    2019-04-09
  • 依依丫头 :
    效果不错,对我有帮助
    2018-10-26
  • qq_36357466 :
    怎么对圈选的内容进行删除了?
    2018-09-13

免责申明

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