欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

ASP.NET TextAlign 屬性

定義和用法

TextAlign 屬性用于獲取或設(shè)置 CheckBoxList 項(xiàng)目的文本的文本對(duì)齊方式。

語(yǔ)法

<asp:CheckBoxList TextAlign="align" runat="server">
some content
</asp:CheckBoxList>
屬性 描述
align

為列表項(xiàng)目規(guī)定文本的對(duì)齊方式。

可能的值:

  • Left
  • Right (default)

實(shí)例

下面的例子把 CheckBoxList 控件中的 TextAlign 屬性設(shè)置為 "Left":

<form runat="server">
<asp:CheckBoxList id="rb1" runat="server" TextAlign="Left">

Some content

</asp:CheckBoxList>
</form>

實(shí)例

設(shè)置 CheckBoxList 控件的 TextAlign 屬性