idataerrorinfo
Styling a TextBox with IDataErrorInfo in WPF
I\'m trying to change style a text box. By now, I have made that my textbox shows an asterisc on the right of its border with this code:[详细]
2023-01-09 06:46 分类:问答How to validate child objects by implementing IDataErrorInfo on parent class
I am developing a WPF Application using MVVM Architecture. I am an amateur in WPF so bear with me.. I have two model classes. Parent class has an object of another (child) class as its property. (i m[详细]
2023-01-08 09:51 分类:问答How does the IDataErrorInfo interface work?
I\'m currently looking into validation for my WPF app and seen the mention of IDataErrorInfo. However there are few guides to how to use it and worse there are none who explain how it works.[详细]
2023-01-04 19:22 分类:问答asp.net mvc IDataErrorInfo validation when using ViewModel
I have开发者_开发问答 used IDataErrorInfo Validation for my Model. But when I use these model classes inside a view model, the validation does not happen.[详细]
2023-01-04 14:47 分类:问答Exception validating data with IDataErrorInfo with a MVVM implementation
I\'m trying to validate data in my MVVM application using IDataErrorInfo, but I\'m running into some problems.[详细]
2023-01-04 01:12 分类:问答Problem with validation and multibinding
In my WPF application I use the following xaml: ... <TextBox se开发者_如何学JAVArvices:TextBoxService.IsFocused=\"{Binding Path=IsSelected, Mode=OneWay}\"[详细]
2023-01-03 10:39 分类:问答IDataErrorInfo vs ValidationRule vs Exception
Can anyone tell me which is a better approach for Validation in WPF. Implementing IDataErrorInfo Creating Validatio开发者_Python百科nRule[详细]
2022-12-30 18:34 分类:问答WPF Validation with ContentPresenter
I have a WPF user control which needs to validate some fields.It is bound to a class implementing IDataErrorInfo.[详细]
2022-12-27 17:03 分类:问答IDataErrorInfo with ValueConverter
I\'m somehow doing it wrong, but I can\'t figure it out: I have a model like this: public class Person : IDataErrorInfo {[详细]
2022-12-24 11:43 分类:问答WPF Validation & IDataErrorInfo
A note - the classes I have are EntityObject classes! I have the following class: public class Foo { public Bar Bar { get; set; }[详细]
2022-12-23 22:58 分类:问答