Home Dashboard Directory Help
Search

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


Status: 

Closed
 as Fixed Help for as Fixed


1
0
Sign in
to vote
Type: Bug
ID: 788983
Opened: 5/30/2013 11:48:22 AM
Access Restriction: Public
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description

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).
Details
Sign in to post a comment.
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)
Sign in to post a workaround.
File Name Submitted By Submitted On File Size  
WpfApplication314.zip 6/12/2013 47 KB