Name

RepeatDirection

Synopsis

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
End Enum

Hierarchy

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

Get ASP.NET in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.