What is the design reason for using a group box instead of a panel on a windows form?
user-controls, winforms
Solution
Some Advantages of Panel:
- Scrollable
- Lots of border style options.
An Advantage of GroupBox:
- Group Title
Problem
So I am designing a control with a window s form. I want to group some controls together with a caption. So naturally I would go with a GroupBox. However is there some advantage in using a panel instead? Something not immediatly obvious to one who is still a little green with form design? How about some "gotchas" as well.