GroupBox
Wisej.Web.GroupBox
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Represents a Wisej control that displays a frame around a group of controls with an optional caption.
public class GroupBox : Control
Constructors
GroupBox()

Initializes a new instance of the GroupBox class.
GroupBox(text, controls)

Initializes a new instance of the GroupBox class with the specified text.
GroupBox(text, location, size, controls)

Initializes a new instance of the GroupBox class with the specified controls, text, and collapsed state.
Properties
AllowHtml

Boolean: Returns or sets a value indicating that the control can display html in the Text property. (Default: False
)
AutoSize

Boolean: Returns or sets a value that indicates whether the GroupBox resizes based on its contents. (Default: False
)
AutoSizeMode

AutoSizeMode: Returns or sets the mode by which the Button automatically resizes itself. (Default: GrowOnly
)
Checked

Boolean: Gets or sets whether the checkbox next to the group box title is checked or unchecked. (Default: True
)
Collapsed

Boolean: Returns or sets a value that indicates whether the GroupBox is collapsed or expanded. (Default: False
)
CollapsedBounds

Rectangle: Returns the collapsed bounds.
DefaultPadding

Padding: Returns the Padding structure that contains the default padding settings for a GroupBox control.
DisplayRectangle

Rectangle: Returns a rectangle that represents the inner dimensions of the GroupBox control.
RightToLeftLayout

Boolean: Enables or disables right-to-left layout when the value of RightToLeft is Yes (Default: False
)
ShowCheckBox

Boolean: Gets or sets whether the group box shows a checkbox next to the text. (Default: False
)
ShowCloseButton

Boolean: Returns or sets a value that indicates the GroupBox displays the open/close button next to the title. (Default: False
)
UseMnemonic

Boolean: Returns or sets whether the first character that is preceded by an ampersand (&) is used as the mnemonic key of the control. (Default: True
)
Methods
OnCheckedChanged(e)

Fires the CheckedChanged event.
OnControlAdded(e)

Fires the ControlAdded event.
OnGroupBoxCollapsed(e)

Fires the GroupBoxCollapsed event.
OnGroupBoxExpanded(e)

Fires the GroupBoxExpanded event.
OnRightToLeftLayoutChanged(e)

Fires the RightToLeftLayoutChanged event.
OnWebEvent(e)

OnWebRender(config)

SetBoundsCore(x, y, width, height, specified)

Sets the specified bounds of the GroupBox control.
Events
CheckedChanged

EventHandler Fired when the value of the Checked property changes.
GroupBoxCollapsed

EventHandler Fired when the groupbox is collapsed.
GroupBoxExpanded

EventHandler Fired when the groupbox is expanded.
RightToLeftLayoutChanged

EventHandler Fired when the value of the RightToLeftLayout property changes.
Implements
Provides access to the UserData
and Tag
properties associated to the component implementing this interface.
Bindable components implement this interface.
Controls that support drag & drop operations implement this interface.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
Last updated
Was this helpful?