Back to Devexpress

GroupBox.MinimizationDirection Property

wpf-devexpress-dot-xpf-dot-layoutcontrol-dot-groupbox-6fa8af01.md

latest2.2 KB
Original Source

GroupBox.MinimizationDirection Property

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

Namespace : DevExpress.Xpf.LayoutControl

Assembly : DevExpress.Xpf.LayoutControl.v25.2.dll

NuGet Package : DevExpress.Wpf.LayoutControl

Declaration

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

Property Value

TypeDescription
Orientation

An Orientation property that specifies how the GroupBox is minimized.

|

Remarks

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

GroupBoxStyle

IsCollapsible

IsCollapsed

View

GroupBox Class

GroupBox Members

DevExpress.Xpf.LayoutControl Namespace