rodrigoq
rodrigoq

Reputation: 509

Visual studio like panels

I need to make some vertical docking/collapsible panels in the style of the Visual Studio IDE (like Solution explorer, Toolbox, Properties, etc...), does anyone know some examples or code for doing that?

Thanks, R.

Upvotes: 3

Views: 710

Answers (3)

MikeB
MikeB

Reputation: 483

You could use the DockPanel Suite from here. Then your forms just have to inherit from DockContent and they can dock to a DockPanel similar to Visual Studio.

Upvotes: 4

David
David

Reputation: 73564

You can do this using the ToolStripContainer

http://en.csharp-online.net/Tool,_Menu,_and_Status_Strips%E2%80%94The_ToolStripContainer

http://msdn.microsoft.com/en-us/library/ms229623.aspx

google the word "ToolStripContainer" and you'll come up with all sorts of samples.

Upvotes: 0

Jay
Jay

Reputation: 14471

I assume you want to do autohide? You probably need to look at userdraw controls. You'll need to implement the paint method and do all the work of shifting content around.

Upvotes: 0

Related Questions