GroupBox
Represents a Wisej.NET control that displays a frame around a group of controls with an optional caption.
The GroupBox
displays a frame around a group of controls with or without a caption. Use a GroupBox
to logically group a collection of controls on a form. The GroupBox
is a container control that can be used to define groups of controls.
A typical use for a group box is to contain a logical group of RadioButton
controls. When you have two group boxes, each containing several radio buttons, each group of buttons is mutually exclusive, setting one option value per group.
You can add controls to the GroupBox
using the Add
method of the Controls
property.
Features
Collapsible
The visibility of the GroupBox
can be controlled at runtime using the ShowCloseButton
property.

CheckBox
The GroupBox
control features an optional checkbox that can be toggled to enable or disable the child controls. Set the ShowCheckBox
property to true to show the checkbox. Set the Checked
property to toggle the checked state.

AutoSize
When enabled, the GroupBox
control resizes itself to fit its contents according to the AutoSizeMode
property specified.

Advanced
JavaScript Widget
Class name
"wisej.web.GroupBox"
Theme appearance
"groupbox", see Themes.
Child components
"legend" is the groupbox legend. "frame" is the groupbox frame. "close-button" is the button that hides the groupbox. See JavaScript.
Source code
Last updated
Was this helpful?