Home Dashboard Directory Help
Search

"Create Data Binding" tool does not respect ICustomTypeProvider (or ICustomTypeDescriptor) by awcullen


Status: 

Closed
 as Fixed Help for as Fixed


3
0
Sign in
to vote
Type: Bug
ID: 741340
Opened: 5/9/2012 6:54:58 AM
Access Restriction: Public
Moderator Decision: Sent to Engineering Team for consideration
0
Workaround(s)
view
1
User(s) can reproduce this bug

Description

Classes that implement ICustomTypeProvider (or ICustomTypeDescriptor) can expose extra typed properties for the purpose of data binding to UI controls.

In VS2010, the Data Binding tool would respect ICustomTypeDescriptor and present the extra typed properties for binding.

In VS11, the "Create Data Binding" tool ignores both ICustomTypeProvider and ICustomTypeDescriptor. Which breaks my design time experience.
At least implement ICustomTypeProvider, which is supported in WPF and Silverlight.
Details
Sign in to post a comment.
Posted by Microsoft on 4/29/2014 at 12:24 PM
Thank you for reporting this issue. This issue has been fixed in Visual Studio 2013. You can install a trial version of Visual Studio 2013 with the fix from: http://go.microsoft.com/?linkid=9832436
Posted by jogibear9988 on 2/19/2013 at 2:12 PM
I don't think it's working in VS12 with ICustomTypeDescriptor! And I can't use ICustomTypeProvider because im still on Net 4.0
Posted by awcullen on 6/6/2012 at 1:47 AM
Thanks, Sam. Great news!
Andrew
Posted by Microsoft on 6/5/2012 at 1:18 PM
awcullen,

You are correct. This bug did not make it into the VS 2012 RC. It is unfourtunate as there are no workaround for the issue.

However, we have addressed the this issue and the fix will be available in the Release version of VS 2012.

We apologize for the inconvience,

Sam Harrell
Metro/WPF/Silverlight Designer Team - Visual Studio
Sam.Harrell at Microsoft.com
Posted by awcullen on 6/1/2012 at 10:07 AM
This bug is not resolved in VS11 RC. Neither ICustomTypeProvider not ICustomTypeDescriptor is used by the "Create Data Binding" tool to discover the properties available for binding.

Is there no workaround?
Posted by MS-Moderator10 [Feedback Moderator] on 5/9/2012 at 9:13 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.
Posted by MS-Moderator01 on 5/9/2012 at 7:44 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)
Sign in to post a workaround.
File Name Submitted By Submitted On File Size  
CustomTypeProviderSample.zip 5/9/2012 63 KB