DekGenius.com
[ Team LiB ] Previous Section Next Section

RepeatDirectionserializable

System.Web.UI.WebControls (system.web.dll)enum

This enumeration specifies how items are organized in some list controls. It usually works in conjunction with a RepeatColumns property, which sets the dimensions of the table. For example, if you have a list with twenty elements and you set RepeatColumns to five, you automatically have four rows, regardless of what RepeatDirection you choose.

If RepeatDirection is Vertical, items are filled into columns from left to right, and then row-by-row. If you use Horizontal, the items are filled from top to bottom, and then column-by-column to satisfy the required number of columns.

public enum RepeatDirection {
   Horizontal = 0,
   Vertical = 1
}

Hierarchy

System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) RepeatDirection

Returned By

CheckBoxList.RepeatDirection, DataList.RepeatDirection, RadioButtonList.RepeatDirection, RepeatInfo.RepeatDirection

Passed To

CheckBoxList.RepeatDirection, DataList.RepeatDirection, RadioButtonList.RepeatDirection, RepeatInfo.RepeatDirection

    [ Team LiB ] Previous Section Next Section