Skip to main content
Tab

ASPxDockZone.Orientation Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(DockZoneOrientation.Vertical)]
public DockZoneOrientation Orientation { get; set; }

Property Value

Type Default Description
DockZoneOrientation Vertical

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.

You can obtain the zone orientation on the client side using the ASPxClientDockZone.IsVertical method.

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