GroupBox (grp)
![]() | GroupBox - Allows you to group other controls together. |
Examples
![]() |
Ampersands
A single ampersand is not displayed in a label and must be changed to a double ampersand (&&)
Label also does not display single ampersand
Properties
| AutoSize | Overridden. Gets or sets a value that indicates whether the GroupBox resizes based on its contents. |
| AutoSizeMode | Gets or sets how the GroupBox behaves when its AutoSize property is enabled. |
| DefaultSize | Overridden. |
| DisplayRectangle | Overridden. Gets a rectangle that represents the dimensions of the GroupBox. |
| FlatStyle | Gets or sets the flat style appearance of the group box control. |
| Text | Overridden. |
| UseCompatibleTextRendering | Gets or sets a value that indicates whether the text of the GroupBox is rendered using compatible text rendering (GDI+) or GDI. |
Methods
| ToString | Overridden. |
Events
| AutoSizeChanged | Occurs when the value of the AutoSize property changes. |
| DoubleClick | Occurs when the user double-clicks the GroupBox control. |
| KeyDown | Occurs when the user presses a key while the GroupBox control has focus. |
| KeyPress | Occurs when the user presses a key while the GroupBox control has focus. |
| KeyUp | Occurs when the user releases a key while the GroupBox control has focus. |
| MouseClick | Occurs when the user clicks the GroupBox control with the mouse. |
| MouseDoubleClick | Occurs when the user double-clicks the GroupBox control with the mouse. |
| TabStopChanged | Occurs when the value of the TabStop property changes. |
© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited TopPrevNext

