WPF Designer - Standard controls are not initialized after being dropped on the design surface - by Vlad Filyakov - DevExpress

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 788983 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 5/30/2013 11:48:22 AM
Access Restriction Public


We have a custom DefaultInitializer registered for FrameworkElement. It does nothing special - in most cases it does nothing. This problem can be reproduced with the completely empty implementation of DefaultInitializer as well.
When I drop a standard control (Button, CheckBox) on the design surface (on a Grid, for example), it does not get its Content property assigned. Once I remove my empty DefaultInitializer it starts working again.

This problem seems to appear after VS2012 Update 2 (works fine in VS2010 and was working fine before update 2, but I'm not 100% sure about this). 
Sign in to post a comment.
Posted by Deon [MSFT] on 4/29/2014 at 12:30 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 Vlad Filyakov - DevExpress on 6/12/2013 at 11:42 AM
I've attached a repro project.

Open MainWindow.xaml and drop a Button or a CheckBox on the design surface - controls won't have any Content assigned.
Posted by Microsoft on 6/6/2013 at 12:45 AM
Hi Vlad Filyakov - DevExpress, we'll close this feedback. Please reopen it recently and reply to us. Thanks.
Posted by Microsoft on 6/4/2013 at 1:43 AM
Hi Vlad Filyakov - DevExpress, we want to remind you we have sent new comments to you. Please reply to us in time. Thanks for your time.
Posted by Microsoft on 5/30/2013 at 11:50 PM
Thank you for submitting feedback on Visual Studio and .NET Framework. In order to efficiently investigate and reproduce this issue, we are requesting a demo project. We look forward to hearing from you with this information.
Posted by Microsoft on 5/30/2013 at 11:51 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)