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

ASP.NET RadioButtonList RepeatLayout Property

ASP.NET RadioButtonList RepeatDirection Property


RadioButtonList Control RadioButtonList control


Definition and Usage

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

Syntax

Some Content

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

Possible values:

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

    Example

    The following example sets the RepeatDirection of a RadioButtonList control:

    runat="server" RepeatDirection="Horizontal">

    Some content

    Demo Example »


    RadioButtonList Control RadioButtonList control