RepeatDirection

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



    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace