GroupBox.State Property
Gets or sets the GroupBox’s state.
Namespace: DevExpress.Xpf.LayoutControl
Assembly: DevExpress.Xpf.LayoutControl.v24.2.dll
NuGet Package: DevExpress.Wpf.LayoutControl
#Declaration
public GroupBoxState State { get; set; }
#Property Value
Type | Description |
---|---|
Group |
A Group |
Available values:
Name | Description |
---|---|
Normal | A Group |
Minimized | A Group |
Maximized | A Group |
#Remarks
The GroupBox supports three states:
-
In this state, the GroupBox is collapsed, and its content is not visible to end-users.
If the GroupBox.MinimizeElementVisibility option is set to Visible, an end-user is able to set the GroupBox to the minimized state via a dedicated Minimize Element button.
GroupBoxState.Maximized (supported when the GroupBox is displayed within a FlowLayoutControl)
In this state, the GroupBox occupies the majority of the FlowLayoutControl, with other items arranged in a row or column along the control’s edge.
Assigning a GroupBox to the FlowLayoutControl.MaximizedElement property automatically sets the maximized state for the GroupBox.
If the GroupBox.MaximizeElementVisibility option is set to Visible, an end-user is able to set the GroupBox to the maximized state via a dedicated Maximize Element button.
-
This is a normal state for a GroupBox. Setting the state to Normal restores the GroupBox from the minimized or maximized state to the regular state and view.