Visual Studio and .NET Framework Home
WPF: the Binding feature doesn't work as expected
7/9/2009 4:57:04 AM
User(s) can reproduce this bug
Here is the problem: In WPF at VS 2010 design time, the Legend of our ChartControl is empty. This happens because the Binding feature doesn't work. Note that it works fine in VS 2008; and also it works fine at VS 2010 runtime.
Visual Studio 2010 Beta 1
Operating System Language
Steps to Reproduce
We've created a simple example (see the attachment), which demonstrates this problem. There are 3 projects in the attachment:
1) "TestControl" project is a simple control that has the functionality to demonstrate this binding;
2) "TestProject VS 2008" project demonstrates how this binding works in VS 2008 (correct);
3) "TestProject VS 2010" project demonstrates how this binding works in VS 2010 (incorrect).
In VS 2010 at design time the TestControl is empty.
In VS 2010 at design time the TestControl shows 1, 2, 3 in a column (like it works in VS 2008)
TAP Code (if applicable)
You can indicate your satisfaction with how Microsoft handled this issue by completing this quick
3 question survey
to post a comment.
Please enter a comment.
on 8/20/2009 at 8:14 PM
Thank you for reporting this issue. We have determined that this is a bug with how datacontext is handled in designtime as you suggested. This was limited to setting datacontext outside of the designer's xaml.
We have fixed this issue and the fix should appear in beta2 and RTM of Visual Studio 10. Thank you again for the time you spent filing this issue. We appreciate it.
on 7/12/2009 at 7:21 PM
Thanks for your feedback.
We are rerouting 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.
on 7/10/2009 at 12:47 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com/)
to post a workaround.
Please enter a workaround.
© 2014 Microsoft