WPF之ValidationRule数据校验

上传者: 34581845 | 上传时间: 2021-07-20 17:43:37 | 文件大小: 87KB | 文件类型: ZIP
界面开发需要数据输入,输入数据就少不了数据校验。不同数据不同校验规则,本案例提供不同数据通过指定数据类型参数使用对应校验规则反馈结果。结果通过定义样式模板展示不同警醒效果!

文件下载

资源详情

[{"title":"( 40 个子文件 87KB ) WPF之ValidationRule数据校验","children":[{"title":"ValidationRuleExp","children":[{"title":".vs","children":[{"title":"ValidationRuleExp","children":[{"title":"v16","children":[{"title":".suo <span style='color:#111;'> 84.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"ValidationRuleExp.suo <span style='color:#111;'> 33.50KB </span>","children":null,"spread":false},{"title":"ValidationRuleExp.sln <span style='color:#111;'> 893B </span>","children":null,"spread":false},{"title":"ValidationRuleExp","children":[{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"Debug","children":[{"title":"ValidationRuleExp.pdb <span style='color:#111;'> 39.50KB </span>","children":null,"spread":false},{"title":"ValidationRuleExp.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"ValidationRuleExp.exe <span style='color:#111;'> 16.50KB </span>","children":null,"spread":false},{"title":"ValidationRuleExp.vshost.exe <span style='color:#111;'> 11.33KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"App.xaml <span style='color:#111;'> 328B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"x86","children":[{"title":"Debug","children":[{"title":"ValidationRuleExp.pdb <span style='color:#111;'> 39.50KB </span>","children":null,"spread":false},{"title":"ValidationRuleExp.g.resources <span style='color:#111;'> 3.30KB </span>","children":null,"spread":false},{"title":"App.g.i.cs <span style='color:#111;'> 2.31KB </span>","children":null,"spread":false},{"title":"GeneratedInternalTypeHelper.g.cs <span style='color:#111;'> 2.94KB </span>","children":null,"spread":false},{"title":"ValidationRuleExp.csproj.FileListAbsolute.txt <span style='color:#111;'> 3.38KB </span>","children":null,"spread":false},{"title":"GeneratedInternalTypeHelper.g.i.cs <span style='color:#111;'> 2.94KB </span>","children":null,"spread":false},{"title":"ValidationRuleExp_MarkupCompile.cache <span style='color:#111;'> 376B </span>","children":null,"spread":false},{"title":"App.g.cs <span style='color:#111;'> 2.31KB </span>","children":null,"spread":false},{"title":"ValidationRuleExp_MarkupCompile.i.cache <span style='color:#111;'> 309B </span>","children":null,"spread":false},{"title":"ValidationRuleExp.csprojAssemblyReference.cache <span style='color:#111;'> 8.02KB </span>","children":null,"spread":false},{"title":"ValidationRuleExp.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"ValidationRuleExp.csproj.CoreCompileInputs.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"ValidationRuleExp.csproj.GenerateResource.cache <span style='color:#111;'> 954B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 7.18KB </span>","children":null,"spread":false},{"title":"MainWindow.g.cs <span style='color:#111;'> 7.38KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 424B </span>","children":null,"spread":false},{"title":"ValidationRuleExp_MarkupCompile.lref <span style='color:#111;'> 124B </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":"ValidationRuleExp.exe <span style='color:#111;'> 16.50KB </span>","children":null,"spread":false},{"title":"MainWindow.g.i.cs <span style='color:#111;'> 7.38KB </span>","children":null,"spread":false},{"title":"MainWindow.baml <span style='color:#111;'> 3.07KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"App.xaml.cs <span style='color:#111;'> 313B </span>","children":null,"spread":false},{"title":"ContactModel.cs <span style='color:#111;'> 2.29KB </span>","children":null,"spread":false},{"title":"ValidationRuleExp.csproj <span style='color:#111;'> 4.29KB </span>","children":null,"spread":false},{"title":"ContactRule.cs <span style='color:#111;'> 2.89KB </span>","children":null,"spread":false},{"title":"MainWindow.xaml <span style='color:#111;'> 3.28KB </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.18KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.82KB </span>","children":null,"spread":false}],"spread":true},{"title":"MainWindow.xaml.cs <span style='color:#111;'> 2.37KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

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