ASP.NET CellSpacing 속성

정의 및 사용법

CellSpacing 속성은 RadioButtonList에서 테이블 셀 간의 픽셀 수를 가져오거나 설정합니다.

주의사항:이 함수는 RepeatLayout 속성이 "Table"로 설정되었을 때만 유효합니다. (기본값)

문법

<asp:RadioButtonList CellSpacing="픽셀" runat="server">
일부 내용
</asp:RadioButtonList >
속성 설명
픽셀 테이블 셀 간의 픽셀 수를 정의합니다.

예제

아래 예제는 RadioButtonList 컨트롤의 CellSpacing 속성을 설정합니다:

<form runat="server">
<asp:RadioButtonList id="rb1" runat="server"> CellSpacing="15">
일부 내용
</asp:RadioButtonList>
</form>

예제

RadioButtonList 컨트롤의 CellSpacing 속성 설정