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:
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
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.
I have开发者_开发问答 used IDataErrorInfo Validation for my Model. But when I use these model classes inside a view model, the validation does not happen.
I\'m trying to validate data in my MVVM application using IDataErrorInfo, but I\'m running into some problems.
In my WPF application I use the following xaml: ... <TextBox se开发者_如何学JAVArvices:TextBoxService.IsFocused=\"{Binding Path=IsSelected, Mode=OneWay}\"
Can anyone tell me which is a better approach for Validation in WPF. Implementing IDataErrorInfo Creating Validatio开发者_Python百科nRule
I have a WPF user control which needs to validate some fields.It is bound to a class implementing IDataErrorInfo.
I\'m somehow doing it wrong, but I can\'t figure it out: I have a model like this: public class Person : IDataErrorInfo {
A note - the classes I have are EntityObject classes! I have the following class: public class Foo { public Bar Bar { get; set; }