ASP.NET CheckBoxList CellSpacing Eigenschaft
Die CheckBoxList
Definition und Verwendung
CellSpacing Eigenschaft wird verwendet, zu erhalten oder die Anzahl der Pixel in der CheckBoxList zwischen Tabellenzellen gesetzt.
Hinweis: Diese Funktion ist nur wirksam, wenn sie in Repeat "Table" (Standard) festgelegt.
Grammatik
<asp:CheckBoxList CellSpacing="pixels" runat="server">
Some Content
</asp:CheckBoxList>
Some Content
</asp:CheckBoxList>
属性 | 描述 |
---|---|
pixels | 规定表格单元格之间的像素数。 |
Beispiele
Die folgenden Beispiele CellSpacing Eigenschaft CheckBoxList Kontrolle gesetzt:
<form runat="server">
<asp:CheckBoxList id="rb1"
runat="server" CellSpacing="15">
Some content
</asp:CheckBoxList>
</form>
<asp:CheckBoxList id="rb1"
runat="server" CellSpacing="15">
Some content
</asp:CheckBoxList>
</form>
Die Demonstration >>
Die CheckBoxList