ASP.NET RadioButtonList RepeatLayout 屬性
ASP.NET RadioButtonList RepeatDirection 屬性

定義和用法
RepeatDirection 屬性用于獲取或設置 RadioButtonList 中的項目是垂直顯示還是水平顯示。
語法
<asp:RadioButtonList RepeatDirection="mode" runat="server">
Some Content
</asp:RadioButtonList >
Some Content
</asp:RadioButtonList >
屬性 | 描述 |
---|---|
mode | 規(guī)定 RadioButtonList 中項目的布局方向。 可能的值:
|
實例
下面的實例設置了 RadioButtonList 控件的 RepeatDirection:
<form runat="server">
<asp:RadioButtonList id="rb1"
runat="server" RepeatDirection="Horizontal">
Some content
</asp:RadioButtonList>
</form>
<asp:RadioButtonList id="rb1"
runat="server" RepeatDirection="Horizontal">
Some content
</asp:RadioButtonList>
</form>
演示實例 ?

相關文章
- ASP.NET Web Pages – 發(fā)布
- ASP.NET Razor 標記
- ASP.NET MVC 模型
- ASP.NET TextBox 控件
- ASP.NET SortedList
- ASP.NET HyperLink 控件
- WebSecurity InitializeDatabaseConnection 方法
- WebSecurity IsConfirmed 方法
- HTML Image 2
- HTML Textarea
- ASP.NET HTML 控件 Calendar 3
- RadiobuttonList
- ASP.NET HTML 控件 Repeater
- ASP.NET HTML 控件 用 重復
- ASP.NET HTML 控件 XML RadiobuttonList
- C# 實例 顯示日期和時間
- VB 實例 Else If 條件
- C# 實例 使用 Chart 幫助器 根據(jù)數(shù)據(jù)庫顯示餅圖
- htmlbutton
- ASP.NET Calendar SelectMonthText 屬性