ASP.NET RepeatDirection 속성
정의 및 사용법
RepeatDirection 속성은 RadioButtonList 내 아이템이 직립적으로 표시되거나 수평적으로 표시되는지 설정하거나 가져옵니다
문법
<asp:RadioButtonList RepeatDirection="mode" runat="server"> some content </asp:RadioButtonList >
속성 | 설명 |
---|---|
mode |
RadioButtonList 내 아이템의 레이아웃 방향을 정의합니다。 가능한 값:
|
예제
아래 예제는 RadioButtonList 컨트롤의 RepeatDirection을 설정합니다:
<form runat="server"> <asp:RadioButtonList id="rb1" runat="server" RepeatDirection="Horizontal"> Some content </asp:RadioButtonList> </form>
예제
- RadioButtonList 컨트롤의 RepeatDirection 설정