We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

binding the value of HasError

Thread ID:





150518 Jan 9,2020 02:21 PM UTC Jan 13,2020 06:41 AM UTC WPF 3
Tags: SfTextInputLayout
Asked On January 9, 2020 02:21 PM UTC

Validation working so fine but the border of SfTextInputLayout still red even if the errors are gone when I set HasErro property to true,
How can I bind HasErro's value to my validation in ViewModel?, can you give an example please?

Divya Venkatesan [Syncfusion]
Replied On January 10, 2020 01:00 PM UTC

Hi Aboubaker, 
Greetings from Syncfusion. 
We have prepared a sample to validate Email id. Please download the sample from the below link. 
Please let us know if you need any further assistance. 
Divya Venkatesan 

Replied On January 10, 2020 03:41 PM UTC

OMG, thank you so much, so the converter did the work..
The way you bound HasErro is so brilliant.

By the way I tested many other products but SyncFusion is the best, keep up.

Divya Venkatesan [Syncfusion]
Replied On January 13, 2020 06:41 AM UTC

Hi Aboubaker, 
Thanks for your appreciation. 
Please get back to us if you need any further assistance. We would be happy to assist you. 
Divya Venkatesan 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon