System.Windows.Forms
1.0.5000.0
2.0.0.0
System.Windows.Forms.Control
System.Runtime.InteropServices.ComVisible(true)
System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)
System.ComponentModel.Designer("System.Windows.Forms.Design.GroupBoxDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.IDesigner")
System.ComponentModel.DefaultEvent("Enter")
System.ComponentModel.DefaultProperty("Text")
The displays a frame around a group of controls with or without a caption. Use a to logically group a collection of controls on a form. The group box is a container control that can be used to define groups of controls.
The typical use for a group box is to contain a logical group of 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.
You can add controls to the by using the method of the property.
Only controls that are contained within the control can be selected or receive focus. The complete itself cannot be selected or receive focus. For more information about how this control responds to the and methods, see the following members: , , , , , .
The cannot display a scroll bar. If you need a control similar to a that can contain a scroll bar, see the control.
Represents a Windows control that displays a frame around a group of controls with an optional caption.
Constructor
By default, the property is set to false when a new is created. The group box has an initial height of 100 pixels and width of 200 pixels.
Initializes a new instance of the class.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
System.ComponentModel.Browsable(false)
System.Boolean
To be added.
To be added.
Gets or sets a value that indicates whether the control will allow drag-and-drop operations and events to be used.
1.0.5000.0
2.0.0.0
Property
2.0.0.0
System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Visible)
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Always)
System.ComponentModel.Browsable(true)
System.Boolean
To be added.
To be added.
Gets or sets a value that indicates whether the resizes based on its contents.
Event
2.0.0.0
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Always)
System.ComponentModel.Browsable(true)
System.EventHandler
For more information about handling events, see Consuming Events.
Occurs when the value of the property changes.
Property
2.0.0.0
System.ComponentModel.Localizable(true)
System.ComponentModel.DefaultValue(System.Windows.Forms.AutoSizeMode.GrowOnly)
System.ComponentModel.Browsable(true)
System.Windows.Forms.AutoSizeMode
To be added.
To be added.
Gets or sets how the behaves when its property is enabled.
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
System.ComponentModel.Browsable(false)
System.EventHandler
To be added.
Occurs when the user clicks the control.
1.0.5000.0
2.0.0.0
Method
2.0.0.0
System.Windows.Forms.AccessibleObject
If you do not explicitly call the method, it will be called when the property is referenced.
Creates a new accessibility object for the .
A new for the .
Property
System.Windows.Forms.CreateParams
To be added.
To be added.
To be added.
1.0.5000.0
2.0.0.0
Property
2.0.0.0
System.Windows.Forms.Padding
To be added.
The default padding indicates the padding on each side of the control is three pixels.
Gets the structure that contains the default padding settings for a control.
Property
System.Drawing.Size
To be added.
To be added.
To be added.
1.0.5000.0
2.0.0.0
Property
System.Drawing.Rectangle
To be added.
To be added.
Gets a rectangle that represents the dimensions of the .
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
System.ComponentModel.Browsable(false)
System.EventHandler
To be added.
Occurs when the user double-clicks the control.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.DefaultValue(System.Windows.Forms.FlatStyle.Standard)
System.Windows.Forms.FlatStyle
To be added.
A with a value of does not receive mouse events.
Gets or sets the flat style appearance of the group box control.
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
System.ComponentModel.Browsable(false)
System.Windows.Forms.KeyEventHandler
Because a control cannot get focus, this event is never raised.
Occurs when the user presses a key while the control has focus.
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
System.ComponentModel.Browsable(false)
System.Windows.Forms.KeyPressEventHandler
Because a control cannot get focus, this event is never raised.
Occurs when the user presses a key while the control has focus.
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
System.ComponentModel.Browsable(false)
System.Windows.Forms.KeyEventHandler
Because a control cannot get focus, this event is never raised.
Occurs when the user releases a key while the control has focus.
1.0.5000.0
2.0.0.0
Event
2.0.0.0
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
System.ComponentModel.Browsable(false)
System.Windows.Forms.MouseEventHandler
To be added.
Occurs when the user clicks the control with the mouse.
Event
2.0.0.0
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
System.ComponentModel.Browsable(false)
System.Windows.Forms.MouseEventHandler
To be added.
Occurs when the user double-clicks the control with the mouse.
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
System.ComponentModel.Browsable(false)
System.Windows.Forms.MouseEventHandler
To be added.
Occurs when the user presses a mouse button while the mouse pointer is over the control.
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
System.ComponentModel.Browsable(false)
System.EventHandler
To be added.
Occurs when the mouse pointer enters the control.
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
System.ComponentModel.Browsable(false)
System.EventHandler
To be added.
Occurs when the mouse pointer leaves the control.
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
System.ComponentModel.Browsable(false)
System.Windows.Forms.MouseEventHandler
To be added.
Occurs when the user moves the mouse pointer over the control.
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
System.ComponentModel.Browsable(false)
System.Windows.Forms.MouseEventHandler
To be added.
Occurs when the user releases a mouse button while the mouse pointer is over the control.
1.0.5000.0
2.0.0.0
Method
System.Void
To be added.
To be added.
To be added.
1.0.5000.0
2.0.0.0
Method
System.Void
To be added.
To be added.
To be added.
1.0.5000.0
2.0.0.0
Method
System.Boolean
To be added.
To be added.
To be added.
To be added.
1.0.5000.0
2.0.0.0
Method
2.0.0.0
System.Void
If the control is top level, this method will not scale the control's location. This method does not scale children or the size of automatically sized controls. You can omit scaling in any direction by changing the value of the parameter.
Scales the by the specified factor and scaling instruction.
The that indicates the height and width of the scaled control.
One of the values that indicates how the control should be scaled.
Property
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
System.ComponentModel.Browsable(false)
System.Boolean
To be added.
Although you can set the property to true, the control cannot receive focus.
Gets or sets a value that indicates whether the user can press the TAB key to give the focus to the .
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)
System.ComponentModel.Browsable(false)
System.EventHandler
To be added.
Occurs when the value of the property changes.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.Localizable(true)
System.String
To be added.
To be added.
To be added.
1.0.5000.0
2.0.0.0
Method
System.String
To be added.
To be added.
A string that represents the current .
1.0.5000.0
2.0.0.0
Property
System.Boolean
To be added.
The UseCompatibleTextRendering property is intended to provide visual compatibility between Windows Forms controls that render text using the class and net_v10_short and net_v11_short applications that perform custom text rendering using the class. In most cases, if your application is not being upgraded from net_v10_short or net_v11_short, it is recommended that you leave UseCompatibleTextRendering set to the default value of false.
The ndptecgdi based class was introduced in the dnprdnlong to improve performance, make text look better, and improve support for international fonts. In earlier versions of the dnprdnshort, the ndptecgdiplus based class was used to perform all text rendering. ndptecgdi calculates character spacing and word wrapping differently from ndptecgdiplus. In a Windows Forms application that uses the class to render text, this could cause the text for controls that use to appear different from the other text in the application. To resolve this incompatibility, you can set the UseCompatibleTextRendering property to true for a specific control. To set UseCompatibleTextRendering to true for all supported controls in the application, call the method with a parameter of true.
Gets or sets a value that determines whether to use the class (ndptecgdiplus) or the class (ndptecgdi) to render text
2.0.0.0
System.ComponentModel.DefaultValue(false)
Method
System.Void
To be added.
To be added.
To be added.
1.0.5000.0
2.0.0.0