WPF:定制Checkbox样式,让“正确”绿得好看,让“错误”红的显眼

上传者: wadexmy | 上传时间: 2014-10-30 00:00:00 | 文件大小: 58KB | 文件类型: rar
WPF提供了样式、模板、触发器、状态管理、矢量形状等方式,让我们不需要背景图片,也可以轻松定制控件的风格样式。代码对Checkbox进行的样式定制,让“正确”绿得好看,让“错误”红的显眼。如果不是很适应自己系统的整体风格,可以对样式代码进行修改。

文件下载

资源详情

[{"title":"( 36 个子文件 58KB ) WPF:定制Checkbox样式,让“正确”绿得好看,让“错误”红的显眼","children":[{"title":"CheckBoxCustomTemplete","children":[{"title":"CheckBoxCustomTemplete.sln <span style='color:#111;'> 908B </span>","children":null,"spread":false},{"title":"CheckBoxCustomTemplete","children":[{"title":"bin","children":[{"title":"Debug","children":[{"title":"TestCheckBox.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"TestCheckBox.exe <span style='color:#111;'> 14.00KB </span>","children":null,"spread":false},{"title":"TestCheckBox.pdb <span style='color:#111;'> 39.50KB </span>","children":null,"spread":false},{"title":"TestCheckBox.vshost.exe <span style='color:#111;'> 11.33KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"App.xaml <span style='color:#111;'> 323B </span>","children":null,"spread":false},{"title":"CheckBoxCustomTemplete.csproj <span style='color:#111;'> 4.20KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"x86","children":[{"title":"Debug","children":[{"title":"App.g.i.cs <span style='color:#111;'> 2.27KB </span>","children":null,"spread":false},{"title":"TestCheckBox_MarkupCompile.i.cache <span style='color:#111;'> 275B </span>","children":null,"spread":false},{"title":"TestCheckBox.csproj.GenerateResource.Cache <span style='color:#111;'> 917B </span>","children":null,"spread":false},{"title":"GenerateResource.write.1.tlog <span style='color:#111;'> 388B </span>","children":null,"spread":false},{"title":"App.g.cs <span style='color:#111;'> 2.27KB </span>","children":null,"spread":false},{"title":"CheckBoxCustomTemplete.csproj.FileListAbsolute.txt <span style='color:#111;'> 960B </span>","children":null,"spread":false},{"title":"TestCheckBox.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TestCheckBox_MarkupCompile.cache <span style='color:#111;'> 275B </span>","children":null,"spread":false},{"title":"TestCheckBox.exe <span style='color:#111;'> 14.00KB </span>","children":null,"spread":false},{"title":"TestCheckBox.pdb <span style='color:#111;'> 39.50KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.30KB </span>","children":null,"spread":false},{"title":"MainWindow.g.cs <span style='color:#111;'> 2.96KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 12.31KB </span>","children":null,"spread":false},{"title":"GenerateResource.read.1.tlog <span style='color:#111;'> 164B </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":"TestCheckBox.csproj.FileListAbsolute.txt <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false},{"title":"CheckBoxCustomTemplete.csproj.GenerateResource.Cache <span style='color:#111;'> 917B </span>","children":null,"spread":false},{"title":"TestCheckBox.g.resources <span style='color:#111;'> 7.01KB </span>","children":null,"spread":false},{"title":"MainWindow.g.i.cs <span style='color:#111;'> 2.96KB </span>","children":null,"spread":false},{"title":"MainWindow.baml <span style='color:#111;'> 6.79KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"App.xaml.cs <span style='color:#111;'> 308B </span>","children":null,"spread":false},{"title":"MainWindow.xaml <span style='color:#111;'> 13.38KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"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":"AssemblyInfo.cs <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false}],"spread":true},{"title":"MainWindow.xaml.cs <span style='color:#111;'> 637B </span>","children":null,"spread":false}],"spread":true},{"title":"CheckBoxCustomTemplete.suo <span style='color:#111;'> 31.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • LQ_DaYuRen :
    很好,但是我估计你自己也不是很明白怎么用的
    2018-08-01
  • 杀魔巡警 :
    还行,可以用
    2016-09-26
  • sxh2011 :
    还行,可以用
    2016-03-14

免责申明

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