GroupBox.MinimizationDirection Property

Gets or sets how the GroupBox is minimized. This is a dependency property.

Namespace: DevExpress.Xpf.LayoutControl

Assembly: DevExpress.Xpf.LayoutControl.v20.1.dll


public Orientation MinimizationDirection { get; set; }
Public Property MinimizationDirection As Orientation

Property Value

Type Description

An Orientation property that specifies how the GroupBox is minimized.


The MinimizationDirection property specifies whether the GroupBox is minimized in a horizontal or vertical direction. The property's default value is Vertical.

Changing the MinimizationDirection property makes sense if you want to create a GroupBox template whose layout supports the group's minimization in the horizontal direction, as for instance, when the template sets the group's header at the left or right of its content.

The group minimization feature is enabled for a LayoutGroup, provided that the LayoutGroup.View property is set to LayoutGroupView.GroupBox and the LayoutGroup.IsCollapsible property is enabled.

See Also