ASP.NET CellPadding 속성
정의 및 사용법
CellPadding 속성은 셀 경계와 내용 사이의 픽셀 수를 설정하거나 반환합니다.
주의사항:RepeatLayout 속성이 "Table"로 설정되었을 때만 해당 함수가 유효합니다.
문법
<asp:RadioButtonList CellPadding="픽셀" runat="server"> some content </asp:RadioButtonList >
속성 | 설명 |
---|---|
픽셀 | 셀 경계와 내용 사이의 픽셀 수를 정의합니다。 |
예제
아래의 예제는 RadioButtonList 컨트롤의 CellPadding 속성을 설정합니다:
<form runat="server"> <asp:RadioButtonList id="rb1" runat="server" CellPadding="15"> Some content </asp:RadioButtonList> </form>
예제
- RadioButtonList 컨트롤의 CellPadding 속성 설정