Click here to Skip to main content
15,893,161 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
See more:
Hi, how can we add collapsible panal to WinForms?
I'm developed some WinForms in .NET, now I want to arrange those forms in collapsible panal like. plz Please help me...
Thaks in advance...
Posted
Updated 31-May-12 10:54am
v2
Comments
Sergey Alexandrovich Kryukov 31-May-12 13:58pm    
Did you try anything? What's your problem?
--SA
sandeep nagabhairava 31-May-12 14:11pm    
im trying to add dropdownpanel.dll based on this http://www.codeproject.com/Articles/11116/DropDownPanel-a-complete-Expandable-Panel
but my vs2010 did't show dropdownpanel.dll.

You can manipulate the visibility or the size of System.Windows.Forms.Panel by using either Width/Height or Visible properties. With the properties Width or Height you can even animate the process of collapse. Please see:
http://msdn.microsoft.com/en-us/library/system.windows.forms.control.width.aspx[^],
http://msdn.microsoft.com/en-us/library/system.windows.forms.control.height.aspx[^],
http://msdn.microsoft.com/en-us/library/system.windows.forms.control.size.aspx[^],
http://msdn.microsoft.com/en-us/library/system.windows.forms.control.visible.aspx[^].

Good luck,
—SA
 
Share this answer
 
v2
Comments
Maciej Los 31-May-12 14:13pm    
Short and to the point, my 5!
Sergey Alexandrovich Kryukov 31-May-12 14:51pm    
Thank you, Maciej.
--SA
Espen Harlinn 31-May-12 15:17pm    
Good point :-D
Sergey Alexandrovich Kryukov 31-May-12 17:15pm    
Thank you, Espen.
--SA
Shahin Khorshidnia 31-May-12 16:53pm    
+ Five
Just change the Panel size (height,wight) as your needs..
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900