Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Getting the Control bound to a Property

$
0
0

Hello. I'm writing an Input Validation framework for Xamarin.Forms. I made it like default Microsoft attributes validation. The validation logic is finished and validation errors are thrown as expected.

I'm beginning the UI part where controls get notified about the validation error and react (for eg. make the Entry control border red or something...)

For this I need a logic to detect which Control is bound to the Property which has the validation error, and I don't know how, I didn't find anything on the web, only some code that applies to WPF/Silverlight, not Xamarin Forms

For eg. this code http://stackoverflow.com/questions/3959421/wpf-find-control-that-binds-to-specific-property

Xamarin.Forms doesn't contain BindingOperations class so I'm stuck. Any ideas are welcome!

Thanks.


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>