I have two controls bound to properties MinCartValue and MaxCartValue. MinCartValue must be less than MaxCartValue. To achieve this validation I have implemented the the IDataErrorInfo interface, and
I use MVVM and my object implement IDataErrorInfo.When a property is set, I run custom validation methods and if the validation passes, I return String.empty, which sets Validation.HasError to false.I
I have a WPF window that has a datacontext of my class \'Item\'.When a user types in a TextBox the validation triggers with no issues.I need to validate this TextBox and every other Property that is s
Requirement: Need to display an error message when the user types a forlder name that doesn\'t exist as shown below:
I need to do some kind of data validation in a WPF application I am developing As far as I know, when you add ValidatesOnDataErrors=True to the Binding, everytime the Binding is resolved (it can be e
I have problem with error handling in view. I use caliburn.micro and MEF. My VM look like this: [Export(typeof(IShellViewModel))]
I\'m not using WCF RIA Services... I\'ve 开发者_开发知识库got a custom OData service that my SL4 application is using. I need to add validation to my forms. I notice the proxy that VS2010 creates does
As a new WPF programer I cant find the difference between two different way to validate user input: What are the pros and cons of writing custom validation rule against implementing IDataErrorInfo, a
I have implemented a PropertyGrid and properties of selected object(in another library) are displayed in it. Property values are bound to PropertyGrid controls through binding. Now, I want to perform
I\'m converting one of my existing applications to the MVVM pattern to improve its structure and I\'m a bit torn on what would be the best way to do the data validation.