Windows Develop Bookmark and Share   
 index > Windows Forms General > difference between .net 1.0 splitter and .net 2.0 splittercontainer
 

difference between .net 1.0 splitter and .net 2.0 splittercontainer

What is the difference between .net 1.0 splitter and .net 2.0 splittercontainer controls?
Is there any functionality added?


Thanks in advance
Srinivas
srinivas_kv80  Thursday, November 09, 2006 12:23 PM

Not sure what do you expect from a splitter after all. Something that if I remember correctly the old Splitter does not have is that you can specify the min/max/initial size of the panels. You can also make it "fixed" so it cannot be moved by the user.

Mike Danes  Thursday, November 09, 2006 5:10 PM
Functionality is much the same, there is not much a splitter needs/can do. But the new SplitterContainer is much more easier to use. It's not a splitter only, it also contains the 2 "splitted" panels so you just drag it to a form and then place your controls in each of the 2 panels. With the old Splitter you need to drag one control, dock it, drag the splitter, dock it properly and finally drag the second control. And this would not be such a big deal but try changing the splitter from horizontal to vertical or changing one of the "splitted" controls... a pain in the @#$ usually. SplitContainer makes this much more easy.
Mike Danes  Thursday, November 09, 2006 1:17 PM
Thanks for the info....
But are there any extra UI actions we can do on Splittercontainer compared to Splitter, i am very much interested in it.

srinivas_kv80  Thursday, November 09, 2006 1:53 PM

Not sure what do you expect from a splitter after all. Something that if I remember correctly the old Splitter does not have is that you can specify the min/max/initial size of the panels. You can also make it "fixed" so it cannot be moved by the user.

Mike Danes  Thursday, November 09, 2006 5:10 PM

You can use google to search for other answers

Custom Search

More Threads

• Implementing security in the webbrowser control.....
• DataGridVeiw Control(columns)
• ToolStripItems: how to duplicate?
• Creating a Popup Listbox Control
• Responding to a Click event
• Ctrl-C does not work on Textbox Edit control
• Command Line Compiler
• Exception Handling
• Painting of controls
• Datagridview cellformatting event strange loop