AutoHide Designing

Docking/MDI for WPF Forum

Posted 6 years ago by William H. Southwell
Version: 12.1.0562
Avatar

When working on a docked, auto-hidden container, it makes it hard to design because it is shown as hidden in the designer. In an older version, I was able to see this auto-hidden container expanded during design time if I had part of that ToolWindow's code selected and Rebuilt the project. But now, I can't do this. Has this feature been taken away, or is there some other way of accessing it?

Comments (8)

Posted 6 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi William,

I don't think we've modified the Docking/MDI designer functionality in quite a long time.  Which specific version did you see it working in before?


Actipro Software Support

Posted 6 years ago by William H. Southwell
Avatar

I'm pretty sure it was in 2011.2, under Visual Studio 2010.

Posted 6 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi William,

I just tried it in that version but didn't see anything like what you described.  Could you try it in the older version and tell us how to repro it in one of our samples?


Actipro Software Support

Posted 6 years ago by William H. Southwell
Avatar

I will try in the next few days, yes. So is it your understanding that this was not a "feature", and more of a fortuitous bug?

Posted 6 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi William,

I really don't remember ever seeing that working, so if it was, it probably was as you said a fortuitous bug. :)  Let us know what you find.  Thanks!


Actipro Software Support

Posted 6 years ago by David Bagby - Calypso Ventures, Inc.
Avatar

I have this same problem.

I have multiple windows in the autohide state and I'm getting really frustrated with not being able to see them at design time.

An invisible at design time XAML construct is damn hard to edit in a GUI visual editor.... :-(

My questions:

Is there some way to make auto hide windows and their content visible in either VS (I use 2012) or Blend?

If not, what is the recommended design work flow?

I've been doing property grids in an MDI window then copying the XAML to the auto hide window - which is "a less than satisfacory" work flow approach.

I've thought about making the windows as normal open MDI windows (so they are visible at design time) and then changing them to autohidden programtically when the app starts. I'm not sure yet how to do that (and don't really think it should be necessary).

How do others design invisiable autohide windows?

Dave

Posted 6 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi David,

Another option is to make the content of your tool windows be UserControls and design the UserControls separately from the main window.


Actipro Software Support

Posted 6 years ago by David Bagby - Calypso Ventures, Inc.
Avatar

Thanks for that suggestion. I just did that for some items and it's a huge improvement.

Dave

The latest build of this product (v2019.1 build 0681) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.