Skip to main content

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.v24.2.dll

Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public bool FloatVertical { get; set; }

Property Value

Type Default Description
Boolean false

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