Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LayoutGroup.DefaultLayoutType Property

Gets or sets the default layout type for newly created items within the current group.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(LayoutType.Vertical)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public LayoutType DefaultLayoutType { get; set; }

#Property Value

Type Default Description
LayoutType Vertical

A LayoutType object that specifies the default layout type.

Available values:

Name Description
Horizontal

Specifies that an item is positioned horizontally next to a base item.

Vertical

Specifies that an item is positioned vertically next to a base item.

#Remarks

This property specifies the default layout type for newly created items within the current group. It is used in a number of cases (for instance, by the LayoutGroup.AddItem, LayoutGroup.AddGroup and LayoutGroup.AddTabbedGroup method overloads without layoutType parameters).

See Also