WPF MVVM无Command属性的控件绑定事件

上传者: loryrichie | 上传时间: 2021-04-13 16:13:07 | 文件大小: 106KB | 文件类型: RAR
我们在WPF开发中应用MVVM开发模式时,一般用来绑定Button 的Command命令,但是有很多控件MS没有给出Command命令,我们需要添加一个DLL来增加绑定时的属性。

文件下载

资源详情

[{"title":"( 52 个子文件 106KB ) WPF MVVM无Command属性的控件绑定事件","children":[{"title":"NoCommandBingding.sln <span style='color:#111;'> 1020B </span>","children":null,"spread":false},{"title":"NoCommandBingding","children":[{"title":"App.xaml <span style='color:#111;'> 328B </span>","children":null,"spread":false},{"title":"NoCommandBingding.csproj <span style='color:#111;'> 4.78KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"App.g.cs <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"MainWindow.baml <span style='color:#111;'> 2.68KB </span>","children":null,"spread":false},{"title":"MainWindow.g.cs <span style='color:#111;'> 2.99KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 7.19KB </span>","children":null,"spread":false},{"title":"NoCommandBingding.g.resources <span style='color:#111;'> 2.90KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"NoCommandBingding_MarkupCompile.i.cache <span style='color:#111;'> 348B </span>","children":null,"spread":false},{"title":"NoCommandBingding.csproj.FileListAbsolute.txt <span style='color:#111;'> 3.13KB </span>","children":null,"spread":false},{"title":"NoCommandBingding.exe <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false},{"title":"App.g.i.cs <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"NoCommandBingding_MarkupCompile.cache <span style='color:#111;'> 348B </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"MainWindow.g.i.cs <span style='color:#111;'> 2.99KB </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"GeneratedInternalTypeHelper.g.i.cs <span style='color:#111;'> 2.94KB </span>","children":null,"spread":false},{"title":"UserControl1.g.i.cs <span style='color:#111;'> 11.43KB </span>","children":null,"spread":false},{"title":"NoCommandBingding.pdb <span style='color:#111;'> 37.50KB </span>","children":null,"spread":false},{"title":"NoCommandBingding.csproj.GenerateResource.Cache <span style='color:#111;'> 919B </span>","children":null,"spread":false},{"title":"NoCommandBingding.csprojResolveAssemblyReference.cache <span style='color:#111;'> 11.92KB </span>","children":null,"spread":false},{"title":"NoCommandBingding.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"Debug","children":[{"title":"ko","children":[{"title":"System.Windows.Interactivity.resources.dll <span style='color:#111;'> 6.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"fr","children":[{"title":"System.Windows.Interactivity.resources.dll <span style='color:#111;'> 6.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"zh-Hans","children":[{"title":"System.Windows.Interactivity.resources.dll <span style='color:#111;'> 6.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"System.Windows.Interactivity.xml <span style='color:#111;'> 53.93KB </span>","children":null,"spread":false},{"title":"NoCommandBingding.vshost.exe.config <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"NoCommandBingding.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"de","children":[{"title":"System.Windows.Interactivity.resources.dll <span style='color:#111;'> 6.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"zh-Hant","children":[{"title":"System.Windows.Interactivity.resources.dll <span style='color:#111;'> 6.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"System.Windows.Interactivity.dll <span style='color:#111;'> 39.00KB </span>","children":null,"spread":false},{"title":"it","children":[{"title":"System.Windows.Interactivity.resources.dll <span style='color:#111;'> 6.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"NoCommandBingding.vshost.exe <span style='color:#111;'> 23.66KB </span>","children":null,"spread":false},{"title":"NoCommandBingding.exe.config <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"NoCommandBingding.exe <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false},{"title":"ja","children":[{"title":"System.Windows.Interactivity.resources.dll <span style='color:#111;'> 7.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"en","children":[{"title":"System.Windows.Interactivity.resources.dll <span style='color:#111;'> 6.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"es","children":[{"title":"System.Windows.Interactivity.resources.dll <span style='color:#111;'> 6.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"NoCommandBingding.pdb <span style='color:#111;'> 37.50KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"Services","children":null,"spread":false},{"title":"Views","children":null,"spread":false},{"title":"App.xaml.cs <span style='color:#111;'> 344B </span>","children":null,"spread":false},{"title":"Commands","children":[{"title":"DelegateCommand.cs <span style='color:#111;'> 879B </span>","children":null,"spread":false}],"spread":true},{"title":"MainWindow.xaml <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false},{"title":"App.config <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"ViewModels","children":[{"title":"MainWindowViewModel.cs <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"NotificationObject.cs <span style='color:#111;'> 598B </span>","children":null,"spread":false}],"spread":true},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 201B </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.82KB </span>","children":null,"spread":false}],"spread":true},{"title":"Models","children":null,"spread":false},{"title":"MainWindow.xaml.cs <span style='color:#111;'> 796B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • wns_06181202 :
    简明扼要,很好
    2019-09-11
  • kee_ :
    可以,值得学习研究
    2019-04-21
  • 酒伴不如久伴 :
    不兼容3.5 下载请注意了
    2018-03-22
  • 会潜水的小鸟 :
    可以用,就是有些细节还需手动设置
    2017-08-21
  • xuepiaojiangu :
    可以运行,已经很不错了。谢谢楼主
    2016-05-21
  • HuiPlay :
    引用的blend的DLL还不错 ,下载后直接引用源码带的内容即可
    2016-04-05
  • shihuibo :
    资料不错,可以借鉴
    2016-03-22
  • shenaixiang123 :
    例子简单易懂,不错.
    2015-12-28
  • 雨不单下 :
    作用不是很大
    2015-10-08
  • number_6 :
    资源不错 谢谢分享 可以运行
    2015-09-09

免责申明

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