ASP.NET RadioButtonList RepeatDirectionProperty
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
<asp:RadioButtonList RepeatDirection="mode" runat="server"> ... 一些内容 ... </asp:RadioButtonList >
| Property | Description |
|---|---|
| mode | Specifies the layout of the items in the RadioButtonList. Possible values:
|
The following example sets the RepeatDirection of the RadioButtonList control:
<form runat="server"> <asp:RadioButtonList id="rb1" runat="server" RepeatDirection="Horizontal"> ... 一些内容 ... </asp:RadioButtonList> </form>
RadioButtonList Control Other Extensions