问题
I know I can manually pin and unpin the Visual Studio Toolbox, but what I would like to do is have it pinned when viewing the designer and automatically hide when I view the code. Is this possible?
Thanks, Jamie
回答1:
Not as far as I know; I don't think the toolbox can differentiate between code and design views.
It's possible you could write an extension with the Visual Studio SDK that does what you're asking but I don't think it is possible otherwise.
回答2:
Maybe Perspectives extension can help you. After installing you can save your current layout as perspective (just like in Eclipse) in Visual Studio 2010 and then switch between them.
来源:https://stackoverflow.com/questions/8035913/visual-studio-auto-hide-show-toolbox-in-code-designer-modes