Skip to main content

DockZoneSettings.Orientation Property

Gets or sets the direction in which panels are arranged within the zone.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public DockZoneOrientation Orientation { get; set; }

Property Value

Type Description
DockZoneOrientation

One of the DockZoneOrientation enumeration values.

Available values:

Name Description
Vertical

Panels are arranged vertically within a zone.

Horizontal

Panels are arranged horizontally within a zone.

Fill

A docked panel fills whole zone client area. In this case, only one panel can be docked to the zone at one time.

Remarks

Panels are arranged within a zone control, one after another, either vertically or horizontally. Use the Orientation property to control the arrangement of panels. Set the Orientation to Vertical to arrange panels vertically one under another. Or, set the Orientation property to Horizontal to arrange panels horizontally from left to right.

If the Orientation property is set to Fill, a docked panel fills the whole zone client area. In this case, only one panel can be docked to the zone at one tine.

Note

When you dock a panel in a vertically/horizontally oriented zone, the panel is adjusted to the zone’s width/height. The corresponding scroll bars are enabled automatically, if the content does not fit the panel’s visible area.

Docking_Orientation

See Also