Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Binding a CompareValidatorBehavior Bindable property in MVVM with context to different entry

$
0
0

I have created a password compare validator behaviour which changes the color of the text in one entry when it matches the text of another. This works by setting the Binding context in XAML to that of the entry I want to compare. However, I am now in a situations where I want to show the validation error messages on a button command in my view model, but given how the binding context of the entry is now that of the other entry, how do I bind a bindable IsValid property to my viewmodel so that I know this message needs to be shown?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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