Easy Tutorial
❮ Webpages Examples Aspnet Navigation ❯

ASP.NET CheckBoxList RepeatDirection Property



Definition and Usage

The RepeatDirection property is used to get or set whether the items in the CheckBoxList are displayed vertically or horizontally.

Syntax

Property Description
mode Specifies the layout direction of the items in the CheckBoxList. Possible values: Horizontal - Items are displayed horizontally.<br> Vertical - Default. Items are displayed vertically.

Example

The following example sets the RepeatDirection for the CheckBoxList control:


❮ Webpages Examples Aspnet Navigation ❯