
定义和用法
TextAlign 属性用于设置或返回 CheckBox 文本的对齐方式。
默认的对齐方式是 "right"。
语法
<asp:CheckBox TextAlign="left|right" runat="server"
/>
实例
下面的实例设置了 CheckBox 文本的对齐方式:
<form runat="server"> <asp:CheckBox id="check1" runat="server" Text="Make it so" TextAlign="left" /> </form>
