How to create Auto Hide Tab? - c#

I am working on an Window application using VS 2005.
here i have a scenario where i have to create a Docked window that auto hide like our 'Solution Explorer' or 'Property Window' in VS.
I have not find that such control in VS. Please, sugges where i can find this docked control.

Magic Docking
DockDotNET
One more to the collection.
DockPanel Suite

There isn't something available within the standard windows forms. You'll have to take a look at a third party library like
Infragistics
Nevron
...

Related

Tab controls moving tabs between 2 monitors Winforms vs 2010

Advice on approach needed.
I would like to give the user the ability to move tabs between 2 monitors.
What is the best approach?
Idea being user first load the form.
TabControls shows with eg 5 tabs
User can drag 01 tab on another monitor.
Is it possible?
Any suggestions?
I would open two windows (one on each monitor) having a Tab-Control on each of them. The moving of a tab from one window to the other I would manage by using Drag'n'Drop.
You need to use some form of Docking container control. Most of the commercial WinForms widget libraries have one, I have worked with Infragistics. There are also free ones like this one DockPanelSuite (or at least free when I used it). These docking controls will handle the transition between docking and floating, similar to the various windows you can drag around in Visual Studio (Properties, ToolBox, etc.).

Left Menu Tabs Control in Windows Forms Application How can i get it? Its available in current controls?

i am building a C# application, i have explored its all controls but i cant find the left menu style which i usually see in software applications for example visual studio, i am attaching the image of what i need.
Please let me know how can i use it in my forms. I have used a tab menu control in visual studio, but it is not what i required, its tabs are vertical, but i want the exact like i shown in attachment. I think it requires some reference to add.
I don't think that control is available, which means you would have to make one yourself. Here is a link from someone that made one. I haven't tried it: Visual Studios "My Project" Tab Control
There is no such a control in the ToolBox by default. But you could create one for you.
Creat a user controller.
Added a SplitContainer and set Dock.Fill.
Add a FlowLayoutPanel to the Left panel. Add buttons or labels as you wish and implement the click event.

How would i make another application's child window into a tab? (C#)

For instance, I have an application that has a main window and then child windows inside of it.
http://screenshots.rd.to/sn/e3hek/sapienfullwindow.png
http://screenshots.rd.to/sn/e3hek/appscreen8.png
What i need is to grab each individual child window of that application, and display them as tabs in my application, or on a panel's handle.
I already have code to kidnap the application and put it into mine, and it works great.
MDI support is already present in the C#. So the first screenshot is using the MDI option.
The second screenshot is using tabbed windows. Now you have two options:
Use this opensource library DockPanelSuite which will let you have tabs in your application. something similar to visual studio interface. You can create forms and then tab it based on your needs. You can even dock them anywhere in the parent form by drag and drop. Just like in visual studio.
The second option is to create a form with tab control covering the whole windows. There you create tabs using the resource editor and hide/show based on the forms you want to display to the end user.
In my opinion, use the first option which gives you lot more customization. Also if you use the dockpanel, you can switch between the views shown in your first screenshot and second one. So user has better control as to how he wants to view. Dockpanel is free to use even in commerical apps and comes with source code. So you can either use the dll or directly incorporate the code in your application.

Dockable autohiding panel control for Windows Forms

I'm creating a Windows Forms application and I'd like to have a similar look and feel to SQL Server's Management Studio, i.e. a nice autohiding and dockable panel on the left.
A similar control is Visual Studio's "Toolbox".
What sort of control is Management Studio's Object Explorer? And where can I get one? I'm using .NET 3.5 on the Windows Forms project.
Thanks
-Matt
The Base Class Library doesn't provide this type of control. You can do some things to make windows that looking like those (changing the borderstyle) or having docking panels, but the autohide/movable docking/etc capabilities are beyond those of the BCL.
Many third party solutions are available for purchase, though.
Here are five fairly common ones:
Devexpress XtraBars
Telerik RadDock
Actipro UIStudio Docking
Infragistics WinDockManager
Janus UIPanelManager
Here's an open source version I've found to be really good.
http://sourceforge.net/projects/dockpanelsuite/

VS 2005 Toolbox kind of control .NET

I'm looking for a control that the Visual Studio "Toolbox" menu uses. It can be docked and can retract (pin).
Would you know where I can find a control or COM I could use which would look like this?
I would recommend the DockPanel Suite by Weifen Luo.
I think you just need to use a normal form (set the form type to Tool) and use the docking property to dock to to the left or right. You can set the width if you like and use the resize event to stop the user from making it too big or small.
You don't mention what language you want to use. For C++, use the Feature Pack.

Categories