windowsforms-devexpress-dot-xtralayout-dot-layoutgroup-6660678e.md
Gets or sets the default layout type for newly created items within the current group.
Namespace : DevExpress.XtraLayout
Assembly : DevExpress.XtraLayout.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(LayoutType.Vertical)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public LayoutType DefaultLayoutType { get; set; }
<DefaultValue(LayoutType.Vertical)>
<DXCategory("Behavior")>
<XtraSerializableProperty>
Public Property DefaultLayoutType As LayoutType
| 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.
|
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