asp.net.ph

CheckBoxList.TextAlign Property

System.Web.UI.WebControls Namespace   CheckBoxList Class


Sets or retrieves the alignment of Text associated with a CheckBoxList control.

Syntax


Inline <asp:checkboxlist textalign = enumValue ... >
Script CheckBoxList.TextAlign [ = enumValue ]

Property Value


enumValue One of the TextAlign enum values.

The property is read/write with a default value of Right.

Exceptions


Exception Type Condition
ArgumentException Occurs when the specified value is not one of the TextAlign values.

Remarks

Use the TextAlign property to specify the alignment of the text label associated with a CheckBoxList control. You can specify whether the text labels appear to the right or left of the checkboxes. Use the Text property to specify the label text of each checkbox item.

See Also

CheckBoxList Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 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 asp.net.ph