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.
Related
I would like to create a GUI where the main panel expands him self only to the space available, and then if some of the tools 1 or 2 are activated they appear at the top right side and if other tool is started it would automatically displays below ht visible ones or at top of none is displayed...
And if possible the append function.
I think its possible to do this with a bunch of if statements to re-size the panels everytime something would change the window content but there must be an easy way to do this.
Is something similar to the workflow of visual Studio...
Right now im using Windows Forms but i think its possible to switch to WPF
So what I'm looking for is for tutorials,sites,guides or simple a call to pay attention to some options inside the visual studio himself to help me create what I'm trying to achieve.
Here is a mock up to a better understanding
http://i.stack.imgur.com/0vupi.jpg
P.S the only thing I managed to do is hide and make visible the tool panels, but the space is always occupied in blank, and they appear no at top or bottom but the place where i drop them even if i dock them.
If you're open to third party controls, Telerik makes a fantastic dock control that does exactly what you're looking for.
Another option would be Digital Rune Docking or Windows, which is free for non-commercial use.
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
...
For a OSS project, I'm trying to add controls programmatically to a WinForms view.. and I want to make these editable and resizeable as in the Visual Studio Designer. I've been playing around with adding programmatically, using Controls.Add(label).. but I'm struggling to work out how to make the UI editable.
I'm assuming it would make use of DesignMode - but I can only find getters and not setters for these properties. Simply put - is there any way of enabling and disabling DesignMode in WinForms programmatically?
I'm yet to investigate WPF - perhaps that would be able to have editable controls?
Many thanks, sorry to be a pain right after christmas..
T
Actually there is a way to make UI editable as in VS designer.You have to host the winforms designer on your form.
this info might help:
http://msdn.microsoft.com/en-us/magazine/cc163634.aspx
It is available in WinForm as explained by alexm. Unfortunately this is not true for the WPF designer. There you would have to implement your own designer.
As far as I know, the Designer functionality is implemented in Visual Studio, and is not part of the WinForms runtime libraries. The DesignMode property is read-only because it gives information about the execution context; this is not something that can be changed on the fly (as a side note: this property is not as easy to use as one would hope).
If you want to make the UI editable at runtime (i.e. changing the size/layout of controls), you would have to implement a lot of the behavior manually (e.g. OnMouseDown handlers, etc.). If you wanted to do things like drawing bounding boxes with grabbable corners, you might need to delve into custom drawing.
I'm not sure about WPF, as I have much less experience with it, but this question on SO has some information about making controls resizable at runtime.
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/
I need a control in my C# program that behaves exactly the same as MS Expression Blend keyspline control - is there any way to get hold of that control and add it to my application?
As a side note it'd be nice to use some of the other controls that appear in that applications as well
What do you mean by add it to your application? If you're developing a C# WPF application you can already add it using the Blend designer or programatically in Visual Studio.
You can inherit from all the WPF controls to create new ones that enhance the behaviour if needed. If you simply want to customise the feel of a control you can use styles within Expression Blend. If you want to customise the complete look, feel and behaviour of a control you also have the option of templates.
Ok sorry for uing the wrong terminology.
I want to add the control into Visual Studio 2005's toolbox (or indeed Expression Blend's Asset Library) so that I can drag and drop it into any C# WPF applications I create.
The problem is I don't know what the Expression Blend Keyspline control is called and how to get access to it (ie what dll to include as a reference)?
I can try and go through Expression Blend's dll's etc searching for the control but I'm not sure A) that this will work, B) that its a bit long winded, C) what the licensing is for such controls.
I think what you want to do is add a Storyboard, that's where you will then have the option to set the animations including KeySplines for your different controls. A KeySpline by itself is not actually a control it is an animation that acts on a control.
To add a Storyboard click the little plus icon at the top of the "Objects and Timeline" panel (to the right of where is says No Storyboard Open).