---
title: "GroupBox Control Overview"
ms.date: "03/30/2017"
f1_keywords: 
  - "GroupBox"
helpviewer_keywords: 
  - "GroupBox control [Windows Forms], about GroupBox control"
  - "grouping controls [Windows Forms], Windows Forms"
ms.assetid: 03bd8ff9-c905-4f01-9bc6-8438b11d0881
---
# GroupBox Control Overview (Windows Forms)
Windows Forms <xref:System.Windows.Forms.GroupBox> controls are used to provide an identifiable grouping for other controls. Typically, you use group boxes to subdivide a form by function. For example, you may have an order form that specifies mailing options such as which overnight carrier to use. Grouping all options in a group box gives the user a logical visual cue, and at design time all the controls can be moved easily — when you move the single <xref:System.Windows.Forms.GroupBox> control, all its contained controls move, too.  
  
 The group box's caption is defined by the <xref:System.Windows.Forms.GroupBox.Text%2A> property. For more information, see [How to: Set the Text Displayed by a Windows Forms Control](how-to-set-the-text-displayed-by-a-windows-forms-control.md).  
  
## GroupBox and Panel  
 The <xref:System.Windows.Forms.GroupBox> control is similar to the <xref:System.Windows.Forms.Panel> control; however, only the <xref:System.Windows.Forms.GroupBox> control displays a caption, and only the <xref:System.Windows.Forms.Panel> control can have scroll bars.  
  
## See also

- [GroupBox Control](groupbox-control-windows-forms.md)
