ASP.NET TextAlign プロパティ
定義と使用方法
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>
例
- checkbox テキストのアライメント方法を設定する