一个WPF 的CheckBoxList 的例子

上传者: dpj_001 | 上传时间: 2022-05-20 14:28:05 | 文件大小: 158KB | 文件类型: RAR
其中实现了 CheckBoxList 和 RadioButtonList 的功能,原来用 ListBox 加 Style 实现,但无法实现多列及全选、全不选的功能,后来采用 UserControl 实现,可以实现所有的这些功能

文件下载

资源详情

[{"title":"( 71 个子文件 158KB ) 一个WPF 的CheckBoxList 的例子","children":[{"title":"Wpf CheckBoxList 测试项目","children":[{"title":"WpfApplication1.sln <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false},{"title":"WpfApplication1","children":[{"title":"bin","children":[{"title":"Debug","children":[{"title":"Domain.dll <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false},{"title":"Domain.pdb <span style='color:#111;'> 7.50KB </span>","children":null,"spread":false},{"title":"WpfControlLibrary1.pdb <span style='color:#111;'> 61.50KB </span>","children":null,"spread":false},{"title":"WpfControlLibrary1.dll <span style='color:#111;'> 18.00KB </span>","children":null,"spread":false},{"title":"WpfApplication1.vshost.exe <span style='color:#111;'> 13.99KB </span>","children":null,"spread":false},{"title":"WpfApplication1.exe <span style='color:#111;'> 23.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;'> 39.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"obj","children":[{"title":"Debug","children":[{"title":"Shared.baml <span style='color:#111;'> 5.27KB </span>","children":null,"spread":false},{"title":"ResolveAssemblyReference.cache <span style='color:#111;'> 18.81KB </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;'> 23.50KB </span>","children":null,"spread":false},{"title":"Window1.g.cs <span style='color:#111;'> 5.07KB </span>","children":null,"spread":false},{"title":"Window1.baml <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false},{"title":"App.g.cs <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false},{"title":"WpfApplication1.csproj.FileListAbsolute.txt <span style='color:#111;'> 6.42KB </span>","children":null,"spread":false},{"title":"CheckBoxList.baml <span style='color:#111;'> 1.59KB </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;'> 11.36KB </span>","children":null,"spread":false},{"title":"App.baml <span style='color:#111;'> 721B </span>","children":null,"spread":false},{"title":"CheckBoxListMulticolumn.baml <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"WpfApplication1.pdb <span style='color:#111;'> 39.50KB </span>","children":null,"spread":false},{"title":"Refactor","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"WpfApplication1_MarkupCompile.cache <span style='color:#111;'> 348B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"Window1.xaml <span style='color:#111;'> 1.39KB </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":"CheckBoxListMulticolumn.xaml <span style='color:#111;'> 2.10KB </span>","children":null,"spread":false},{"title":"WpfApplication1.csproj <span style='color:#111;'> 5.29KB </span>","children":null,"spread":false},{"title":"App.xaml <span style='color:#111;'> 598B </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.88KB </span>","children":null,"spread":false},{"title":"CheckBoxList.xaml <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false},{"title":"Shared.xaml <span style='color:#111;'> 7.89KB </span>","children":null,"spread":false}],"spread":false},{"title":"WpfApplication1.suo <span style='color:#111;'> 51.50KB </span>","children":null,"spread":false},{"title":"WpfControlLibrary1","children":[{"title":"WpfControlLibrary1.csproj <span style='color:#111;'> 4.39KB </span>","children":null,"spread":false},{"title":"CheckBoxListMulticolumn.cs <span style='color:#111;'> 2.77KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"WpfControlLibrary1.pdb <span style='color:#111;'> 61.50KB </span>","children":null,"spread":false},{"title":"WpfControlLibrary1.dll <span style='color:#111;'> 18.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"obj","children":[{"title":"Debug","children":[{"title":"WpfControlLibrary1.pdb <span style='color:#111;'> 61.50KB </span>","children":null,"spread":false},{"title":"SelectorBoxList.g.cs <span style='color:#111;'> 4.19KB </span>","children":null,"spread":false},{"title":"WpfControlLibrary1.csproj.GenerateResource.Cache <span style='color:#111;'> 789B </span>","children":null,"spread":false},{"title":"WpfControlLibrary1.dll <span style='color:#111;'> 18.00KB </span>","children":null,"spread":false},{"title":"WpfControlLibrary1.g.resources <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"Refactor","children":[{"title":"WpfControlLibrary1.dll <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"SelectorBoxList.baml <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"WpfControlLibrary1.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"WpfControlLibrary1.csproj.FileListAbsolute.txt <span style='color:#111;'> 3.90KB </span>","children":null,"spread":false},{"title":"WpfControlLibrary1_MarkupCompile.cache <span style='color:#111;'> 236B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"CRadioButtonList.cs <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.Designer.cs <span style='color:#111;'> 2.82KB </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.08KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false}],"spread":true},{"title":"CheckBoxList.cs <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"CCheckBoxList.cs <span style='color:#111;'> 839B </span>","children":null,"spread":false},{"title":"SelectorBoxList.xaml.cs <span style='color:#111;'> 19.99KB </span>","children":null,"spread":false},{"title":"SelectorBoxList.xaml <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"Domain","children":[{"title":"Domain.csproj <span style='color:#111;'> 2.43KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"Domain.dll <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false},{"title":"Domain.pdb <span style='color:#111;'> 7.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"obj","children":[{"title":"Debug","children":[{"title":"Domain.dll <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false},{"title":"Domain.pdb <span style='color:#111;'> 7.50KB </span>","children":null,"spread":false},{"title":"Domain.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"Refactor","children":[{"title":"Domain.dll <span style='color:#111;'> 3.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"TempPE","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false}],"spread":true},{"title":"CDemo.cs <span style='color:#111;'> 241B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • ren_aidong :
    很棒的资源,谢谢分享!
    2017-09-27
  • sailingwu :
    例子还是很有帮助的
    2016-12-18
  • qq_22988793 :
    void MoveForward() { this.transform.Translate(Vector3.forward * MoveSpeed * Time.deltaTi
    2016-08-17
  • sogar_ :
    一个很实用的例子,但是对自己帮助不大
    2015-12-22
  • dailizhen :
    很好,可以用
    2015-11-05

免责申明

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