Reputation: 3529
Is groupBox in WFA in C# usefull for something else than "just saying these components which are inside this groupBox belongs to one group"? Can I for example somehow get any information(get it from the groupBox not from the components inside) what happens inside or similar useful things?
Upvotes: 0
Views: 256
Reputation: 11466
Here is Microsoft's design guidelines for using Group Boxes:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa511459.aspx
They say, "aside from possibly providing an access key for a group of controls, it provides no functionality". The access key being used most commonly in the Radio Button case.
Upvotes: 1
Reputation: 1585
The typical use for a group box is to contain a logical group of RadioButton controls.If you have two group boxes, each of which contain several option buttons (also known as radio buttons), each group of buttons is mutually exclusive, setting one option value per group. MSDN
Upvotes: 0
Reputation: 21471
Well it is useful as a container that you want to hide or show its content for some reason...
Upvotes: 0
Reputation: 6141
I love using groupBoxes for the "only one radio button may be selected at a time" feature.
Upvotes: 0