System.Web.UI.WebControls Namespace CheckBoxList Class
Specifies whether the CheckBoxList items are displayed vertically or horizontally.
Inline |
<asp:checkboxlist repeatdirection = enumValue ... > |
Script |
CheckBoxList.RepeatDirection = enumValue |
The property is read/write with a default value of Vertical.
Use the RepeatDirection property to specify the display direction of the CheckBoxList control whether the items in the CheckBoxList are displayed in horizontal or vertical order.
NOTE: If the RepeatColumns property is set to 0, the CheckBoxList displays its items in a single row or column, based on the value of the RepeatDirection property. If RepeatDirection is not set, or is set to Vertical, the items are displayed in a single column. If RepeatDirection is set to Horizontal, the items are displayed in a single row.
For more information, see the RepeatDirection enumeration.
CheckBoxList Members RepeatColumns RepeatLayout