Relative Content

Tag Archive for wpfvalidationmvvm

Validation ErrorTemplate and Adorners

Problem I’ve spent the last two days reviewing SO questions on this topic – there are many. Some seemed like hopeful solutions but have not fixed my problem. I’m trying to validate some textbox input controls with the following requirements: A red box is displayed around the textbox border Any error messages are displayed just […]

MVVM Toolkit Data Validation and ObservableProperty

I’m working in WPF and using the MVVM community toolkit. Reading the documentation, I understand that I can make validation work by inheriting from ObservableValidator and using this pattern for my bound properties: