OneWayToSource binding from a readonly dependency property - by omjbe

Status : 

 


45
0
Sign in
to vote
ID 540833 Comments
Status Active Workarounds
Type Bug Repros 29
Opened 3/9/2010 10:46:00 PM
Access Restriction Public

Description

I would like to create a readonly dependency property which allows me to attach a binding with the mode "OneWayToSource".
Sign in to post a comment.
Posted by Florian Haag on 5/1/2014 at 4:22 AM
I think this is a severe bug. The workarounds, if at all applicable, are quite verbose and accordingly error-prone and hard to debug, and probably not as performant as the direct solution. This is by far more than syntactic sugar.
Posted by DRAirey1 on 3/18/2014 at 9:26 AM
Why can't we vote this up? There is no reason for this error except for overzealous property checking on the binding operations. There is no reason at all that XAML can't support OnWayToSource on read-only properties and there are so many instances where a developer needs to do this that we end up badly hacking the XAML language in order to get around it.
Posted by SlickRickD on 12/5/2013 at 11:57 AM
+1, please don't disable voting. Is this because you can't fix the issue?
Posted by Joba Diniz on 6/14/2013 at 5:24 AM
3 years latter and this is not fixed. So sad.
Posted by whiteheadw on 12/6/2012 at 5:15 PM
If you're going to disable voting, than at least fix the bug >:-|
Posted by TimwiTerby on 8/29/2012 at 3:50 PM
Why is voting on this issue disabled?
Posted by lukewis on 11/29/2011 at 2:11 PM
The referenced link in the comments seems to now be broken. Was the referenced issue ever resolved? If so, what was the resolution?
Posted by Microsoft on 3/10/2010 at 9:07 AM
Yes, this is the same issue.
Posted by Microsoft on 3/10/2010 at 1:51 AM

Thanks for your feedback.

We are routing this issue to the appropriate group within the Visual Studio Product Team for triage and resolution.
These specialized experts will follow-up with your issue.
Posted by omjbe on 3/9/2010 at 10:49 PM
Now I have found a similar MS Connect issue: https://connect.microsoft.com/WPF/feedback/details/523865/read-only-dependency-properties-does-not-support-onewaytosource-bindings