nikobarli
Topic Author
Posts: 178
Joined: 26 Apr 2017, 06:23

Input data validation

27 Jun 2017, 06:03

It seems that NoesisGUI doesn't currently provide a standard way to validate input data. Is there any plan to support it in the future ?

# In WPF, the standard methods include the use of INotifyDataErrorInfo and IDataErrorInfo (ref: https://stackoverflow.com/questions/195 ... on-c-sharp).

Do you have any sample to achieve similar behavior with the current NoesisGUI ?
 
User avatar
sfernandez
Site Admin
Posts: 1915
Joined: 22 Dec 2011, 19:20

Re: Input data validation

29 Jun 2017, 23:03

Yes, we have plans to incorporate data validation to bindings.

We don't have an example showing this kind of error validation. Right now it can only be achieved by exposing new properties in the ViewModel that can be used in the TextBox template to show the errors.

Who is online

Users browsing this forum: No registered users and 0 guests