DockZoneSettings.Orientation Property

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

Namespace: DevExpress.Web.Mvc

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


public DockZoneOrientation Orientation { get; set; }
Public Property Orientation As DockZoneOrientation

Property Value

Type Description

One of the DockZoneOrientation enumeration values.


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.


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.


See Also