Back to Devexpress

DockPanel.FloatVertical Property

windowsforms-devexpress-dot-xtrabars-dot-docking-dot-dockpanel-d8316552.md

latest2.3 KB
Original Source

DockPanel.FloatVertical Property

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

Declaration

csharp
[DefaultValue(false)]
[XtraSerializableProperty]
public bool FloatVertical { get; set; }
vb
<DefaultValue(False)>
<XtraSerializableProperty>
Public Property FloatVertical As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if the panel’s children are arranged vertically in floating mode; otherwise, false.

|

Remarks

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

Dock

MakeFloat

DockVertical

DockPanel Class

DockPanel Members

DevExpress.XtraBars.Docking Namespace