ASP.NET RadioButtonList RepeatLayout属性


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 控件 其他扩展