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

Commented Issue: ConventionManager.HasBinding() does not always work with prioritybinding [279]

$
0
0
I have run into an issue where i have used a prioritybinding on the title property of the root window's view, it seem the implementation of HasBinding uses "BindingOperations.GetBindingExpression() != null" to detect a binding.
This returns false in the case where there are no bindings in the prioritybinding that are in the Active state.

The windowmanager then replaces the binding with a default one.

My current workaround is to bind the title property to an attached property that is bound with the required priority binding.
Comments: Perhaps I should have been more clear, this issue only affects WPF. PriorityBinding is wpf only as well.

Viewing all articles
Browse latest Browse all 1760

Trending Articles



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