OT: VS2010 graphic designer visibility of controls

OT: VS2010 graphic designer visibility of controls

Old forum URL: forums.lhotka.net/forums/t/10698.aspx


Jav posted on Tuesday, September 20, 2011

Most annoying thing in Expression Blend was (and has been is) that controls made invisible in xaml by using VisibilityConverter, etc, for example, would also disappear from design surface.  This was the most refreshing change in VS2010 where all controls were always visible - until 3 days ago, that is.

I don't know what I did, but suddenly my design surface looks like the program is executing.  The only way I can make all controls appear is to mess with my Converter code to make it ineffective.  I have searched everywhere in Options, but I see nothing pertinent.  My 1100 page VS2010 book is just as useless.  I cannot understand how this behavior would suddenly change after over a year's use.

I wonder if anybody has an answer to this puzzle.

Jav

Jav replied on Tuesday, September 20, 2011

I think I know what happened.  I have been "Service Packed" (4 days ago) and this is a "feature" the geniuses at Microsoft have implemented.  Here is what the MS guy says in one post:

"By always forcing visiblity of hidden/collapsed control we made it impossible to do perform layout tasks because they would not really reflect the runtime behavior....... Keep in mind that these hidden controls will remain selectable from the XAML tab as well as the Document Outline.
Marco Goertz \ Sr. Dev Lead \ WPF/SL Designer \ Expression-Cider \ Microsoft"

Does that even make any sense!!!!  A designer where you cannot even see the controls you are placing on it!!!  I do spend most of my time in xaml, but I also want to glance at what my UI will look like to the user.

 

Copyright (c) Marimer LLC