# DataRepeaterLayoutStyles

Namespace: **Wisej.Web**

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

Provides an enumeration for specifying the orientation of items in a [DataRepeater](https://docs.wisej.com/api/wisej.web/containers/datarepeater) control.

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

```csharp
public enum DataRepeaterLayoutStyles : Enum
```

{% endtab %}

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

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

{% endtab %}
{% endtabs %}

## Fields

| Name           | Description                                                                                         |
| -------------- | --------------------------------------------------------------------------------------------------- |
| **Horizontal** | Items are displayed in a horizontal format. A horizontal scroll bar will be displayed as necessary. |
| **Vertical**   | Items are displayed in a vertical format. A vertical scroll bar will be displayed as necessary.     |

## Used By

| Name                                                                                                    | Description                                                                                                                                                                  |
| ------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [DataRepeater.LayoutStyle](https://docs.wisej.com/api/wisej.web/containers/datarepeater/..#layoutstyle) | Return or sets whether the [DataRepeater](https://docs.wisej.com/api/wisej.web/containers/datarepeater) control will be displayed with a vertical or horizontal orientation. |
