ASP.NET CellPadding 属性

定义和用法

CellPadding 属性用于设置或返回单元格边框与内容之间的像素数。

注释:该函数仅在 RepeatLayout 属性设置为 "Table" 时有效。

语法

CellPadding="pixels" runat="server">
some content

属性 描述
pixels 规定单元格边框与内容之间的像素数。

ప్రతిమానికి

క్రింది ఉదాహరణ RadioButtonList కంట్రోల్ యొక్క CellPadding అంతర్భాగం అమర్చుకోండి పెట్టారు:

<form runat="server">
<asp:RadioButtonList id="rb1"
runat="server" CellPadding="15">
కొన్ని విషయాలు
</asp:RadioButtonList>
</form>

ప్రతిమానికి

RadioButtonList కంట్రోల్ యొక్క CellPadding అంతర్భాగం అమర్చుకోండి