Skip to main content

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

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