Quantcast
Channel: Caliburn.Micro: Xaml Made Easy
Viewing all articles
Browse latest Browse all 1760

New Post: Validation on ComboBox Issue

$
0
0
I have just been looking at this issue myself, as I wish to do validation on a ComboBox whilst still using the convention based binding.

Having had a dig through the Caliburn.Micro code, the issue seems to be that the ConfigureSelectedItem routine calls BindingOperations.SetBinding directly rather than calling the SetBinding Action on the ConventionManager which applies all the default validation rules and so forth. I'm not sure if there was a reason for this, perhaps someone with a better understanding of the framework could answer that.

What it does mean is that overriding ApplyValidation has no effect as it is never called.

Viewing all articles
Browse latest Browse all 1760

Trending Articles



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