idataerrorinfo
WPF/C# IDataErrorInfo Not Firing
I have a combobox and button on my form. The combobox has categories in them. I want to allow/disallow pending on if they are a \'system category\' based on a boolean.[详细]
2023-01-27 00:27 分类:问答WPF IDATAError no showing when control becomes visible
I have a weird issue with the ErrorTemplate.I created a WPF MVVM application.I am using a ErrorTemplate and the IDataError interface to show errors.On my form I have some controls that are collapsed i[详细]
2023-01-25 19:01 分类:问答WPF validation order between IDataErrorInfo and exception
I have a control that has both ValidatesOnDataErrors = true and ValidatesOnExceptions = true.I also have something watching the Validation.Errors collection for this binding.[详细]
2023-01-22 20:15 分类:问答Using IDataErrorInfo or any similar pattern for propagating error messages
I apologise for this question as it is rather fuzzy and there are several questions integrated but as they are so closely related I did not want to break them apart into several submissions.[详细]
2023-01-22 05:17 分类:问答Beyond Data Validation Styling: Styling based on other properties
I hope that this question has not been asked elsewhere, but I\'m having difficulty finding the right search terms to bring up any already-existing answers to this problem.[详细]
2023-01-21 01:30 分类:问答WPF error template not showing
I get no binding errors and this code works at another place. I haven\'t found out yet what I do now differently to the code where it works and it\'s not that much code.[详细]
2023-01-21 00:59 分类:问答LINQ to SQL Classes with INotifyPropertyChanged and IDataErrorInfo for WPF bindings
I use the LINQ to SQL Classes to access开发者_Python百科 to my database. Now I want to use the LINQ to SQL Classes for WPF DataBindings and validation. How do I implement these two interfaces to my pr[详细]
2023-01-19 10:27 分类:问答Prism IDataErrorInfo validation with DataAnnotation on ViewModel Entities
I\'m implementing data validation in WPF using the Prism MVVM framework. I\'m using clean data Entities in the ViewModel which are being bound to the presentation layer.[详细]
2023-01-16 20:29 分类:问答c# - how do square brackets in a method declaration fit in with c#?
How do squa开发者_开发问答re brackets in a method declaration fit in with c#?That is I see when reading up on WPF validation one can use IDataErrorInfo with an example of the following.[详细]
2023-01-15 07:43 分类:问答problems with validation rule
I am trying to get a validation rule to return an error. I implemented IDataErrorInfo in my model, which contains my business object properties and messages to return in the event validation fails. I[详细]
2023-01-09 20:33 分类:问答