GroupBox.MaximizeElementVisibility Property
Gets or sets whether the Maximize Element is displayed within the GroupBox's header. The Maximize Element is in effect when the GroupBox is an item of a FlowLayoutControl. This is a dependency property.
Namespace: DevExpress.Xpf.LayoutControl
Assembly: DevExpress.Xpf.LayoutControl.v14.2.dll
#Declaration
#Property Value
Type | Description |
---|---|
Visibility | A Visibility value that specifies the Maximize Element's visibility. |
#Remarks
The Maximize Element switches between the normal and maximized states for a GroupBox. It's displayed within the GroupBox's header if the MaximizeElementVisibility option is set to Visibility.Visible. The Maximize Element is in effect when the GroupBox is an item of a FlowLayoutControl.
When a GroupBox is added to a FlowLayoutControl, clicking the Maximize Element maximizes the GroupBox. The maximized GroupBox occupies the major part of the FlowLayoutControl, while other items are arranged in a single layer (column or row) along the FlowLayoutControl's edge. Clicking the button again restores the GroupBox to the normal state.
When a GroupBox is maximized, it's assigned to the FlowLayoutControl.MaximizedElement property. Conversely, if a GroupBox is assigned to the FlowLayoutControl.MaximizedElement property, the GroupBox is automatically maximized. You can also change the GroupBox's state via the GroupBox.State property.
To display a header for a GroupBox, use the GroupBox.TitleVisibility property.