简体   繁体   English

在WPF中实现InotifyDataErrorInfo

[英]Implement INotifyDataErrorInfo in WPF

I like how works INotifyDataErrorInfo in Silverlight. 我喜欢Silverlight中INotifyDataErrorInfo的工作方式。

But I realized that it does not exist in WPF. 但是我意识到它在WPF中不存在。 Are there another ways to implement validation in WPF? 还有其他方法可以在WPF中实施验证吗? I prefer not to use DataAnotations. 我不想使用DataAnotations。

您可以等待WPF 4.5 ,它将最终支持INotifyDataErrorInfo。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 WPF INotifyDataErrorInfo高亮显示ListBoxItem - WPF INotifyDataErrorInfo highlight ListBoxItem 哪个类需要实现INotifyDataErrorInfo? - Which class needs to implement INotifyDataErrorInfo? 是否为WPF 4.5 DataGrids打破了INotifyDataErrorInfo - Is INotifyDataErrorInfo broken for WPF 4.5 DataGrids C#-无法实现“ INotifyDataErrorInfo” - C# - Being unable to implement “INotifyDataErrorInfo” WPF 4.5中的INotifyDataErrorInfo和异步数据验证 - INotifyDataErrorInfo and asynchronous data validation in WPF 4.5 是否可以结合使用 ValidationRules 和 INotifyDataErrorInfo 进行 wpf 验证? - Is is possible to use a combination of ValidationRules and INotifyDataErrorInfo for wpf validation? 在WPF应用程序中实现IDataErrorInfo或INotifyDataErrorInfo的限制 - Limitation in Implementing IDataErrorInfo or INotifyDataErrorInfo in WPF application WPF如何使用INotifyDataErrorInfo在文本框旁边显示错误消息 - WPF How to display error message next to text box using INotifyDataErrorInfo 在窗口加载时调用验证,WPF 使用 INotifyDataErrorInfo - Call validation on when window loads, WPF using INotifyDataErrorInfo 在WPF中使用INotifyDataErrorInfo和嵌入式UserControl(与Caliburn.Micro)一起使用 - Using INotifyDataErrorInfo with embedded UserControl in WPF (with Caliburn.Micro)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM