Propriedade CellSpacing ASP.NET
Definição e Uso
A propriedade CellSpacing é usada para obter ou definir o número de pixels entre as células da tabela no RadioButtonList.
Notas:Esta função é válida apenas quando o atributo RepeatLayout estiver configurado como "Table" (padrão).
Sintaxe
<asp:RadioButtonList CellSpacing="pixels" runat="server"> alguns conteúdos </asp:RadioButtonList >
Propriedade | Descrição |
---|---|
pixels | Especifica o número de pixels entre as células da tabela. |
Exemplo
O exemplo a seguir define a Propriedade CellSpacing do Controlador RadioButtonList:
<form runat="server"> <asp:RadioButtonList id="rb1" runat="server"> CellSpacing="15"> Alguns conteúdos </asp:RadioButtonList> </form>
Exemplo
- Configurar a Propriedade CellSpacing do Controlador RadioButtonList