| |||||||||||
CheckBox.TextAlign PropertySystem.Web.UI.WebControls Namespace CheckBox Class Sets or retrieves the alignment of Text associated with a CheckBox control. Syntax
Property Value
The property is read/write with a default value of Right. Exceptions
RemarksUse the TextAlign property to specify the alignment of the text label associated with a CheckBox control. You can specify whether the text label appears to the right or left of the check box. Use the Text property to specify the label text. ExampleThe below code snippet demonstrates how to set the TextAlign property at design time. <asp:CheckBox id = "checkbox1" runat = "server" AutoPostBack = "True" Text = "Item Checked" TextAlign = "Right" onCheckedChanged = "Check_Clicked"/> See Also |
| ||||||||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme