GroupBox Constructor ()

 

Initializes a new instance of the GroupBox class.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
GroupBox()

By default, the TabStop property is set to false when a new GroupBox is created. The group box has an initial height of 100 pixels and width of 200 pixels.

The following code example instantiates and creates a GroupBox and two RadioButton controls. The option buttons (also known as radio buttons) are added to the group box, and the group box is added to the Form.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: