Back to Devexpress

ASPxSplitter.Orientation Property

aspnet-devexpress-dot-web-dot-aspxsplitter-66e2ee07.md

latest2.0 KB
Original Source

ASPxSplitter.Orientation Property

Gets or sets the direction in which to render the panes within the splitter control.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(Orientation.Horizontal)]
public Orientation Orientation { get; set; }
vb
<DefaultValue(Orientation.Horizontal)>
Public Property Orientation As Orientation

Property Value

TypeDefaultDescription
OrientationHorizontal

One of the Orientation enumeration values.

|

Remarks

Panes can be arranged within a splitter control one after another, either vertically or horizontally. The Orientation property is useful to control the arrangement of panes.

Set the Orientation to Orientation.Vertical to arrange panes vertically, one under another. Or, set the Orientation property to Orientation.Horizontal to arrange panes horizontally, from left to right.

Note

By design, sub panes (members of parent panes’ SplitterPane.Panes collections) are always arranged with an orientation opposite to their immediate parent pane.

See Also

Splitter

ASPxSplitter Class

ASPxSplitter Members

DevExpress.Web Namespace