windowsforms-devexpress-dot-xtrabars-dot-docking-dot-dockpanel-d8316552.md
Gets or sets whether the current panel’s children should be arranged vertically or horizontally when the panel is floated.
Namespace : DevExpress.XtraBars.Docking
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(false)]
[XtraSerializableProperty]
public bool FloatVertical { get; set; }
<DefaultValue(False)>
<XtraSerializableProperty>
Public Property FloatVertical As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true if the panel’s children are arranged vertically in floating mode; otherwise, false.
|
If the current panel represents a floating split container and the FloatVertical property is set to true , the container’s children will be arranged vertically. Otherwise, the container’s child panels will be arranged horizontally.
The FloatVertical property can be set for a split container, or for a panel which will be used to create a split container (this is the panel to which another panel is docked when a split container is created).
When a panel is docked, use the DockPanel.DockVertical property, to choose between the vertical and horizontal orientation of the panel’s children.
See Also