user1097772
user1097772

Reputation: 3529

What is the point of groupBox in WFA in C#?

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

Answers (4)

embedded.kyle
embedded.kyle

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

Arjun Shetty
Arjun Shetty

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

Pacane
Pacane

Reputation: 21471

Well it is useful as a container that you want to hide or show its content for some reason...

Upvotes: 0

Nick Babcock
Nick Babcock

Reputation: 6141

I love using groupBoxes for the "only one radio button may be selected at a time" feature.

Upvotes: 0

Related Questions