Version

Change the Splitter Bars' Orientation

The WebSplitter™ control supports two orientation modes:

  • Horizontal

  • Vertical

By default, the Orientation property is set to Vertical.

The following example code sets the Orientation property to Horizontal.

In Visual Basic:

' Sets Orientation to Horizontal
Me.WebSplitter1.Orientation = Infragistics.Web.UI.LayoutControls.SplitterOrientation.Horizontal

In C#:

// Sets Orientation to Horizontal
this.WebSplitter1.Orientation = Infragistics.Web.UI.LayoutControls.SplitterOrientation.Horizontal;