idataerrorinfo
Silverlight errors in data formats on binding
I\'m trying to take care with every possible error when a property gets its value through a Binding (MVVM) like bein开发者_运维问答g out of a given range.[详细]
2023-03-10 18:00 分类:问答WPF Data Validation? Anything out there better than IDataErrorInfo?
Is there a preferred practice to do Data Validation from within your ViewModel? Looking into it some people seem to prefer IDataErrorInfo and some prefer to roll out their own validation frameworks ([详细]
2023-03-08 07:06 分类:问答What should MVVM Model be like?
Hello i have 3 questions about MVVM Model. Isn\'t there any way to bypass that redundant PropertyChanged(\"PropName\");[详细]
2023-03-05 20:56 分类:问答Where should I perform a check to see if a value already exists in the database when performing validation in MVVM using IDataErrorInfo?
Getting started with all this MVVM stuff, I was following this post by Josh Smith that talks about an approach to validation while using MVVM. The example is simple, and I began to wonder how I would[详细]
2023-02-26 15:40 分类:问答IDataErrorInfo With Multiple Error Messages for a Property
It appears someone else is having this issue: Validation.HasError does not trigger again if new error comes in while already true[详细]
2023-02-20 17:40 分类:问答wpf targetting version 4.0 from 3.5 affects IDataErrorInfo implementation
I\'ve an MVVM application implementing IDataErrorInfo using version 3.5. I want to try and target 4.0 so have amended the Target Framework setting and changed a few bits around (BitmapFrames and the l[详细]
2023-02-18 05:59 分类:问答Enterprise Library 5.0, Validation in abstract base class
my business layer uses an abstract base class called DomainObject that implements IDataErrorInfo to offer validation-binding for WPF.[详细]
2023-02-17 10:20 分类:问答ObservableCollection and IDataErrorInfo with a XML file
MainWindow() and GetXmlData() work fine and display the xmlfile on gridview. But when I include the XmlNode :IDataErrorInfo class, it stops working.[详细]
2023-02-16 15:57 分类:问答WPF DataGrid validation errors not clearing
So I have a WPF DataGrid, which is bound to an ObservableCollection. The collection has validation on its members, through IDataErrorInfo. If I edit a cell in a way so as to be invalid, and then tab a[详细]
2023-02-12 20:41 分类:问答Disable button if validation in model has error
Hi I make validation on error in my model class. public class CurrentUser:IDataErrorInfo, INotifyPropertyChanged[详细]
2023-02-09 06:24 分类:问答