ASP.NET RadioButtonList RepeatLayout 属性

2018-09-13 10:59 更新

ASP.NET RadioButtonList RepeatLayout 属性


RadioButtonList 控件 RadioButtonList 控件

定义和用法

RepeatLayout 属性用于获取或设置如何显示 RadioButtonList 中的项目。

语法

<asp:RadioButtonList RepeatLayout="mode" runat="server">
Some Content
</asp:RadioButtonList >

属性 描述
mode 规定 RadioButtonList 中的项目的布局。

可能的值:

  • Flow - 项目不显示在表格中
  • Table - 默认。项目显示在表格中


实例

下面的实例设置了 RadioButtonList 控件的 RepeatLayout:

<form runat="server">
<asp:RadioButtonList id="rb1"
runat="server" RepeatLayout="Flow">

Some content

</asp:RadioButtonList>
</form>

演示实例 »

RadioButtonList 控件 RadioButtonList 控件
以上内容是否对您有帮助:
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号