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



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net