Skip to main content
Version: 3.5

GroupBox

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Represents a Wisej control that displays a frame around a group of controls with an optional caption.

public class GroupBox : Control

Constructors

Instance memberGroupBox()

Initializes a new instance of the GroupBox class.

Instance memberGroupBox(text, controls)

Initializes a new instance of the GroupBox class with the specified text.

NameTypeDescription
textStringThe text to display on the GroupBox.
controlsControl[]An array of control objects to add to the GroupBox.

Instance memberGroupBox(text, location, size, controls)

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

NameTypeDescription
textStringThe text to display on the GroupBox.
locationPointInitial location.
sizeSizeInitial size.
controlsControl[]An array of control objects to add to the GroupBox.

Properties

Instance memberAllowHtml

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

Instance memberAutoSize

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

Instance memberAutoSizeMode

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

Instance memberChecked

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

Instance memberCollapsed

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

Instance memberDisplayRectangle

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

Instance memberRightToLeftLayout

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

Instance memberShowCheckBox

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

Instance memberShowCloseButton

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

Instance memberUseMnemonic

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)

Events

Instance memberCheckedChanged

EventHandler Fired when the value of the Checked property changes.

Instance memberGroupBoxCollapsed

EventHandler Fired when the groupbox is collapsed.

Instance memberGroupBoxExpanded

EventHandler Fired when the groupbox is expanded.

Instance memberRightToLeftLayoutChanged

EventHandler Fired when the value of the RightToLeftLayout property changes.

Implements

NameDescription
IBindableComponentBindable components implement this interface.
IDropTargetControls that support drag & drop operations implement this interface.
IWisejComponentAll wisej components implement this interface.
IWisejControlAll wisej controls derived from the Control class must implement this interface.
IWisejSerializableAllows an object to serialize itself.