ASP.NET BorderWidth 속성
정의 및 사용법
BorderWidth 속성은 컨트롤의 경계 너비를 설정하거나 반환합니다.
문법
<asp:webcontrol id="id" BorderWidth="length" runat="server" />
값 | 설명 |
---|---|
length | 경계의 너비는 합법적인 .NET 길이 단위여야 합니다. 합법적인 길이 단위는 cm, mm, in, pt, pc 또는 px입니다. |
예제
이 예제에서는 테이블의 경계 높이를 설정합니다:
<form runat="server"> <asp:Table runat="server"> BorderWidth="5" GridLines="vertical"> <asp:TableRow> <asp:TableCell>Hello</asp:TableCell> <asp:TableCell>World</asp:TableCell> </asp:TableRow> </asp:Table> </form>
예제
- Table 컨트롤의 BorderWidth 설정