Feature Request: Design Attached Dependency Property for DataContext TypeI would like to use the &quot;Explicit Data Context&quot; feature when setting data bindings, but I'm not setting the DataContext in XAML.  I am setting it in code behind for various reasons.  Couldn't there be an attached property in the &quot;d&quot; namespace like &quot;d:DataContextType&quot;?  Since I know what type the object will be or perhaps an interface it will implement, couldn't the Explicit Data Context feature use that when present to get type information to use in data bindings?  It would also be great if the Explicit Data Context feature showed up in the Data tab that is new in Blend 3.© 2009 Microsoft Corporation. All rights reserved.Wed, 01 Jul 2009 14:17:01 Z516a71ca-1ab4-4b25-b622-b055bd90d421http://social.expression.microsoft.com/Forums/en-US/blend/thread/516a71ca-1ab4-4b25-b622-b055bd90d421#516a71ca-1ab4-4b25-b622-b055bd90d421http://social.expression.microsoft.com/Forums/en-US/blend/thread/516a71ca-1ab4-4b25-b622-b055bd90d421#516a71ca-1ab4-4b25-b622-b055bd90d421Joey Woodhttp://social.expression.microsoft.com/Profile/en-US/?user=Joey%20WoodFeature Request: Design Attached Dependency Property for DataContext TypeI would like to use the &quot;Explicit Data Context&quot; feature when setting data bindings, but I'm not setting the DataContext in XAML.  I am setting it in code behind for various reasons.  Couldn't there be an attached property in the &quot;d&quot; namespace like &quot;d:DataContextType&quot;?  Since I know what type the object will be or perhaps an interface it will implement, couldn't the Explicit Data Context feature use that when present to get type information to use in data bindings?  It would also be great if the Explicit Data Context feature showed up in the Data tab that is new in Blend 3.Tue, 30 Jun 2009 21:09:18 Z2009-06-30T21:09:18Zhttp://social.expression.microsoft.com/Forums/en-US/blend/thread/516a71ca-1ab4-4b25-b622-b055bd90d421#6e6cd1cc-6b50-42b7-bc3d-e6ee85484482http://social.expression.microsoft.com/Forums/en-US/blend/thread/516a71ca-1ab4-4b25-b622-b055bd90d421#6e6cd1cc-6b50-42b7-bc3d-e6ee85484482Unni Ravindranathan - MSFThttp://social.expression.microsoft.com/Profile/en-US/?user=Unni%20Ravindranathan%20-%20MSFTFeature Request: Design Attached Dependency Property for DataContext TypeHi Joey,<br/><br/>For Blend 3, it will be even better than that. Not only will you be able to specify d:DataContext to simulate a DataContext at design time, but you will also be able to specify your own sample file that allows you to use custom types so data shows up on the design surface. Stay tuned for more details - I will blog about this as soon as we ship Blend 3 over here - <a href="http://blogs.msdn.com/unnir">http://blogs.msdn.com/unnir</a>  (we currently only have the designer focused sample data feature in the preview build of Blend 3).<br/><br/>This is the developer-enables-designer-focused addition to the Blend sample data functionality, in addition to what we already have in the Blend 3 Preview that you can use to quickly mock up arbitrary data sets.<br/><br/>Thanks,<br/>UnniTue, 30 Jun 2009 23:18:43 Z2009-06-30T23:19:15Zhttp://social.expression.microsoft.com/Forums/en-US/blend/thread/516a71ca-1ab4-4b25-b622-b055bd90d421#9abc9a0a-8db0-4733-a8fb-df2c52eb7c1dhttp://social.expression.microsoft.com/Forums/en-US/blend/thread/516a71ca-1ab4-4b25-b622-b055bd90d421#9abc9a0a-8db0-4733-a8fb-df2c52eb7c1dJoey Woodhttp://social.expression.microsoft.com/Profile/en-US/?user=Joey%20WoodFeature Request: Design Attached Dependency Property for DataContext TypeGreat!!  I will be awaiting it eagerly.<br/>Wed, 01 Jul 2009 14:16:53 Z2009-07-01T14:16:53Z