Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP.NET CheckBoxList RepeatDirection Property

ASP.NET CheckBoxList RepeatDirection Property


CheckBoxList Control CheckBoxList control


Definition and Usage

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

Syntax

Some Content

property Description
mode Specifies the layout direction of the items in the CheckBoxList.

Possible values:

  • Horizontal - Items are displayed horizontally.
  • Vertical - Default. Items are displayed vertically.
  • |

    Example

    The following example sets the RepeatDirection of a CheckBoxList control:

    RepeatDirection="Horizontal">

    Some content

    Demo Example »


    CheckBoxList Control CheckBoxList control