RadioButtonList.RepeatLayout 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
요소, 요소, ul 요소 또는 요소를 사용하여 table 목록을 렌더링할지 여부를 지정하는 ol 값을 가져오거나 span 설정합니다.
public:
virtual property System::Web::UI::WebControls::RepeatLayout RepeatLayout { System::Web::UI::WebControls::RepeatLayout get(); void set(System::Web::UI::WebControls::RepeatLayout value); };
[System.ComponentModel.Bindable(true)]
public virtual System.Web.UI.WebControls.RepeatLayout RepeatLayout { get; set; }
public virtual System.Web.UI.WebControls.RepeatLayout RepeatLayout { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.RepeatLayout : System.Web.UI.WebControls.RepeatLayout with get, set
member this.RepeatLayout : System.Web.UI.WebControls.RepeatLayout with get, set
Public Overridable Property RepeatLayout As RepeatLayout
속성 값
요소, 요소, ul 요소 또는 요소를 사용하여 table 목록을 렌더링할지 여부를 지정하는 ol 값입니다span. 기본값은 Table입니다.
- 특성
예외
라디오 단추 레이아웃은 값 중 RepeatLayout 하나가 아닙니다.
예제
다음 코드 예제에서는 테이블에 컨트롤의 RadioButtonList 항목을 표시 하는 속성을 사용 RepeatLayout 하는 방법을 보여 줍니다.
<%@ Page Language="C#" AutoEventWireup="True" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>RadioButtonList.RepeatLayout Example</title>
</head>
<body>
<asp:RadioButtonList id="RadioButtonList1"
RepeatColumns = "2"
RepeatDirection="Vertical"
RepeatLayout="Table"
runat="server">
<asp:ListItem>Item 1</asp:ListItem>
<asp:ListItem>Item 2</asp:ListItem>
<asp:ListItem>Item 3</asp:ListItem>
<asp:ListItem>Item 4</asp:ListItem>
<asp:ListItem>Item 5</asp:ListItem>
<asp:ListItem>Item 6</asp:ListItem>
</asp:RadioButtonList>
</body>
</html>
<%@ Page Language="VB" AutoEventWireup="True" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>RadioButtonList.RepeatLayout Example</title>
</head>
<body>
<asp:RadioButtonList id="RadioButtonList1"
RepeatColumns = "2"
RepeatDirection="Vertical"
RepeatLayout="Table"
runat="server">
<asp:ListItem>Item 1</asp:ListItem>
<asp:ListItem>Item 2</asp:ListItem>
<asp:ListItem>Item 3</asp:ListItem>
<asp:ListItem>Item 4</asp:ListItem>
<asp:ListItem>Item 5</asp:ListItem>
<asp:ListItem>Item 6</asp:ListItem>
</asp:RadioButtonList>
</body>
</html>
설명
사용 가능한 옵션에 대한 자세한 내용은 열거형을 RepeatLayout 참조하세요.
메모
두 가지 옵션은 ASP.NET 4 OrderedList 의 새로운 옵션입니다 UnorderedList.
일부 RepeatLayout 설정은 가로 레이아웃을 허용하지 않습니다. 자세한 내용은 RepeatLayout 열거형을 참조하세요.