Home Dashboard Directory Help

XAML Designer only redering Window Border (no contents) by Andrew Mahon ID1


 as By Design Help for as By Design

Sign in
to vote
Type: Bug
ID: 788392
Opened: 5/22/2013 7:32:48 AM
Access Restriction: Public
User(s) can reproduce this bug


The following XAML no longer renders correclty under VS2012's XAML designer. Opening the same XAML in VS2010 shows the window contents as expected. This has been tested across multiple computers running VS2012 Update 2.
Sign in to post a comment.
Posted by Microsoft on 5/24/2013 at 12:20 PM
This is as designed and is happening because Visibility is set to "Hidden" on root the root Window object. Please change this to "Visible" for XAML Designer to render.
Posted by Microsoft on 5/24/2013 at 1:29 AM
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 Andrew Mahon ID1 on 5/23/2013 at 6:11 AM
Ignoring the fact that I included all the files you would need to reproduce this, I have noted this morning that it appears to be a change in behavior in VS2012 rather than a bug (maybe).

Setting the Windows Visibility property to "Hidden" in the XAML causes the VS2012 designer not render the contents of the Window. This is not the behavior exhibited in VS2010.

Whether or not this by design, I'll leave up to you.
Posted by Microsoft on 5/22/2013 at 8:07 PM
I am having trouble reproducing your issue. Can you share a sample project on which you are seeing this problem?

Posted by Microsoft on 5/22/2013 at 12:54 PM
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  
SolutionFingerprint.5616.html (restricted) 5/22/2013 -
SolutionFingerprint.4528.html (restricted) 5/22/2013 -
SolutionFingerprint.7564.html (restricted) 5/22/2013 -
UploadSummary-130522143247.xml (restricted) 5/22/2013 -
SolutionFingerprint.9212.html (restricted) 5/22/2013 -
VsInfo.xml (restricted) 5/22/2013 -
DxDiagOutput.txt (restricted) 5/22/2013 -
SolutionFingerprint.2568.html (restricted) 5/22/2013 -
MainWindow.xaml (restricted) 5/22/2013 -
ScreenShot.jpg (restricted) 5/22/2013 -
MainWindow.xaml.cs (restricted) 5/22/2013 -
no-idea-what-im-doing-dog.jpg 5/23/2013 76 KB