System.Windows.Forms.GroupBox Members

The members of System.Windows.Forms.GroupBox are listed below.

See Also: Inherited members from System.Windows.Forms.Control

Public Constructors

Initializes a new instance of the System.Windows.Forms.GroupBox class.

Public Properties

override
AllowDropbool.

Gets or sets a value that indicates whether the control will allow drag-and-drop operations and events to be used.

override
AutoSizebool.

Gets or sets a value that indicates whether the System.Windows.Forms.GroupBox resizes based on its contents.

AutoSizeModeAutoSizeMode.

Gets or sets how the System.Windows.Forms.GroupBox behaves when its Control.AutoSize property is enabled.

[read-only]
override
DisplayRectangleSystem.Drawing.Rectangle.

Gets a rectangle that represents the dimensions of the System.Windows.Forms.GroupBox.

FlatStyleFlatStyle.

Gets or sets the flat style appearance of the group box control.

TabStopbool.

Gets or sets a value that indicates whether the user can press the TAB key to give the focus to the System.Windows.Forms.GroupBox.

override
Textstring. Documentation for this section has not yet been entered.
UseCompatibleTextRenderingbool.

Gets or sets a value that determines whether to use the System.Drawing.Graphics class (ndptecgdiplus) or the System.Windows.Forms.TextRenderer class (ndptecgdi) to render text

Protected Properties

[read-only]
override
CreateParamsCreateParams. Documentation for this section has not yet been entered.
[read-only]
override
DefaultPaddingPadding.

Gets the System.Windows.Forms.Padding structure that contains the default padding settings for a System.Windows.Forms.GroupBox control.

[read-only]
override
DefaultSizeSystem.Drawing.Size. Documentation for this section has not yet been entered.

Public Methods

override
ToString() : string
Documentation for this section has not yet been entered.

Protected Methods

override
CreateAccessibilityInstance() : AccessibleObject

Creates a new accessibility object for the System.Windows.Forms.GroupBox.

override
OnFontChanged(EventArgs)
Documentation for this section has not yet been entered.
override
OnPaint(PaintEventArgs)
Documentation for this section has not yet been entered.
override
ProcessMnemonic(char) : bool
Documentation for this section has not yet been entered.
override
ScaleControl(System.Drawing.SizeF, BoundsSpecified)

Scales the System.Windows.Forms.GroupBox by the specified factor and scaling instruction.

override
WndProc(ref Message)
Documentation for this section has not yet been entered.

Public Events

AutoSizeChanged

Occurs when the value of the GroupBox.AutoSize property changes.

Click

Occurs when the user clicks the System.Windows.Forms.GroupBox control.

DoubleClick

Occurs when the user double-clicks the System.Windows.Forms.GroupBox control.

KeyDown

Occurs when the user presses a key while the System.Windows.Forms.GroupBox control has focus.

KeyPress

Occurs when the user presses a key while the System.Windows.Forms.GroupBox control has focus.

KeyUp

Occurs when the user releases a key while the System.Windows.Forms.GroupBox control has focus.

MouseClick

Occurs when the user clicks the System.Windows.Forms.GroupBox control with the mouse.

MouseDoubleClick

Occurs when the user double-clicks the System.Windows.Forms.GroupBox control with the mouse.

MouseDown

Occurs when the user presses a mouse button while the mouse pointer is over the control.

MouseEnter

Occurs when the mouse pointer enters the control.

MouseLeave

Occurs when the mouse pointer leaves the control.

MouseMove

Occurs when the user moves the mouse pointer over the control.

MouseUp

Occurs when the user releases a mouse button while the mouse pointer is over the control.

TabStopChanged

Occurs when the value of the GroupBox.TabStop property changes.