# Orientation

Namespace: **Wisej.Web**

Assembly: **Wisej.Framework** (4.0.0.0)

Specifies the orientation of controls or elements of controls.

{% tabs %}
{% tab title="C#" %}

```csharp
public enum Orientation : Enum
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Enum Orientation As [Enum]
```

{% endtab %}
{% endtabs %}

## Fields

| Name           | Description                                      |
| -------------- | ------------------------------------------------ |
| **Horizontal** | The control or element is oriented horizontally. |
| **Vertical**   | The control or element is oriented vertically.   |

## Used By

| Name                                                                                                                                                                              | Description                                                                                                                                                                                                                                                            |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [BindingNavigator.Orientation](https://docs.wisej.com/api/data-binding/wisej.web.bindingnavigator#orientation)                                                                    | Returns or sets a value indicating the horizontal or vertical orientation of the [BindingNavigator](https://docs.wisej.com/api/wisej.web/data-binding/wisej.web.bindingnavigator) control.                                                                             |
| [Control.LayoutChildren](https://docs.wisej.com/api/general/control#layoutchildren-dock-spacing-usemargins-halign-valign)                                                         | Arranges all the child [Control](https://docs.wisej.com/api/wisej.web/general/control) in the specified *direction* , spaced by *spacing* pixels.                                                                                                                      |
| [ListBox.Orientation](https://docs.wisej.com/api/lists-and-grids/listbox#orientation)                                                                                             | <p>Returns or sets whether the list box displays the items vertically (default) or horizontally.<br><mark style="color:blue;background-color:green;">Since 3.1</mark></p>                                                                                              |
| [HScrollBar.Orientation](https://docs.wisej.com/api/content/scrollbar/wisej.web.hscrollbar#orientation)                                                                           | Returns the orientation of the scrollbar control.                                                                                                                                                                                                                      |
| [VScrollBar.Orientation](https://docs.wisej.com/api/content/scrollbar/wisej.web.vscrollbar#orientation)                                                                           | Returns the orientation of the scrollbar control.                                                                                                                                                                                                                      |
| [ScrollBar.Orientation](https://docs.wisej.com/api/content/scrollbar#orientation)                                                                                                 | Returns the orientation of the scrollbar control.                                                                                                                                                                                                                      |
| [SplitContainer.Orientation](https://docs.wisej.com/api/containers/splitcontainer#orientation)                                                                                    | Returns or sets a value indicating the horizontal or vertical orientation of the [SplitContainer](https://docs.wisej.com/api/wisej.web/containers/splitcontainer) panels.                                                                                              |
| [TabControl.Orientation](https://docs.wisej.com/api/containers/tabcontrol#orientation)                                                                                            | Returns or sets a value indicating the horizontal or vertical orientation of the [TabControl](https://docs.wisej.com/api/wisej.web/containers/tabcontrol) tabs.                                                                                                        |
| [TrackBar.Orientation](https://docs.wisej.com/api/editors/wisej.web.trackbar#orientation)                                                                                         | Returns or sets a value indicating the horizontal or vertical orientation of the track bar.                                                                                                                                                                            |
| [Line.Orientation](https://docs.wisej.com/api/content/wisej.web.line#orientation)                                                                                                 | Returns or sets a value indicating the horizontal or vertical orientation of the [Line](https://docs.wisej.com/api/wisej.web/content/wisej.web.line) control.                                                                                                          |
| [SlideBar.Orientation](https://docs.wisej.com/api/containers/wisej.web.slidebar#orientation)                                                                                      | Returns or sets the [Orientation](https://docs.wisej.com/api/wisej.web/enumerations/wisej.web.orientation) of the [SlideBar](https://docs.wisej.com/api/wisej.web/containers/wisej.web.slidebar) control.                                                              |
| [SplitButton.Orientation](https://docs.wisej.com/api/buttons/wisej.web.splitbutton#orientation)                                                                                   | Returns or sets a value indicating the layout of the [SplitButton](https://docs.wisej.com/api/wisej.web/buttons/wisej.web.splitbutton). When the value is set to [Vertical](#fields) the down arrow is places below the text, otherwise it's to the right of the text. |
| [MdiTabProperties.Orientation](https://docs.wisej.com/api/containers/form/wisej.web.mditabproperties#orientation)                                                                 | Returns or sets a value indicating the horizontal or vertical orientation of the [TabControl](https://docs.wisej.com/api/wisej.web/containers/tabcontrol) tab pages.                                                                                                   |
| [ButtonExtensions.Orientation](https://docs.wisej.com/api/wisej.web.markup/extensions/wisej.web.markup.buttonextensions#orientation-button-orientation)                           | Sets the Orientation property of the specified [SplitButton](https://docs.wisej.com/api/wisej.web/buttons/wisej.web.splitbutton).                                                                                                                                      |
| [LineExtensions.Orientation](https://docs.wisej.com/api/wisej.web.markup/extensions/wisej.web.markup.lineextensions#orientation-line-orientation)                                 | Sets the Orientation property of the specified [Line](https://docs.wisej.com/api/wisej.web/content/wisej.web.line).                                                                                                                                                    |
| [TrackBarExtensions.Orientation](https://docs.wisej.com/api/wisej.web.markup/extensions/wisej.web.markup.trackbarextensions#orientation-trackbar-orientation)                     | Sets the orientation of the specified track bar.                                                                                                                                                                                                                       |
| [SplitterControlExtensions.Orientation](https://docs.wisej.com/api/wisej.web.markup/extensions/wisej.web.markup.splittercontrolextensions#orientation-splitcontainer-orientation) | Sets the Orientation property of the specified [SplitContainer](https://docs.wisej.com/api/wisej.web/containers/splitcontainer).                                                                                                                                       |
| [ListBoxExtensions.Orientation](https://docs.wisej.com/api/wisej.web.markup/extensions/wisej.web.markup.listboxextensions#orientation-listbox-orientation)                        | Sets the Orientation property of the specified [ListBox](https://docs.wisej.com/api/wisej.web/lists-and-grids/listbox).                                                                                                                                                |
