ASP.NET CheckBoxList TextAlignPropiedad
Control CheckBoxList
Definición y uso
La propiedad TextAlign se utiliza para obtener o establecer la alineación del texto de los elementos de CheckBoxList.
Sintaxis
<asp:CheckBoxList TextAlign="align" runat="server">
Some Content
</asp:CheckBoxList>
Some Content
</asp:CheckBoxList>
| Propiedad | Descripción |
|---|---|
| align | Especifica la alineación del texto de los elementos de la lista. Valores posibles:
|
Ejemplo
El siguiente ejemplo establece la propiedad TextAlign del control CheckBoxList en "Left":
<form runat="server">
<asp:CheckBoxList id="rb1"
runat="server" TextAlign="Left">
Some content
</asp:CheckBoxList>
</form>
<asp:CheckBoxList id="rb1"
runat="server" TextAlign="Left">
Some content
</asp:CheckBoxList>
</form>
Ver ejemplo »
Control CheckBoxList Otras extensiones