ASP.NET RadioButtonList CellSpacingPropriété


RadioButtonList 控件Contrôle RadioButtonList

Définition et utilisation

La propriété CellSpacing est utilisée pour obtenir ou définir le nombre de pixels entre les cellules du tableau dans un RadioButtonList.

Remarque :Cette propriété n'est valide que lorsque la propriété RepeatLayout est définie sur "Table" (par défaut).

Syntaxe

<asp:RadioButtonList CellSpacing="pixels" runat="server">
Un contenu
</asp:RadioButtonList >

Propriété Description
pixels Spécifie le nombre de pixels entre les cellules du tableau.


Exemple

L'exemple suivant définit la propriété CellSpacing du contrôle RadioButtonList :

<form runat="server">
<asp:RadioButtonList id="rb1"
runat="server" CellSpacing="15">

Un contenu

</asp:RadioButtonList>
</form>

Exemple de démonstration »

RadioButtonList 控件Contrôle RadioButtonList Autres extensions