Back to Devexpress

LayoutGroup.DefaultLayoutType Property

windowsforms-devexpress-dot-xtralayout-dot-layoutgroup-6660678e.md

latest2.3 KB
Original Source

LayoutGroup.DefaultLayoutType Property

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

Declaration

csharp
[DefaultValue(LayoutType.Vertical)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public LayoutType DefaultLayoutType { get; set; }
vb
<DefaultValue(LayoutType.Vertical)>
<DXCategory("Behavior")>
<XtraSerializableProperty>
Public Property DefaultLayoutType As LayoutType

Property Value

TypeDefaultDescription
LayoutTypeVertical

A LayoutType object that specifies the default layout type.

|

Available values:

NameDescription
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

AddItem

AddGroup

AddTabbedGroup

LayoutGroup Class

LayoutGroup Members

DevExpress.XtraLayout Namespace