System.Web.UI.WebControls.DataList.RepeatColumns Property

Gets or sets the number of columns to display in the System.Web.UI.WebControls.DataList control.

Syntax

[System.ComponentModel.DefaultValue(0)]
public virtual int RepeatColumns { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use this property to specify the number of columns that display items in the System.Web.UI.WebControls.DataList control. For example, if you set this property to 5, the System.Web.UI.WebControls.DataList control displays its items in five columns.

Note:

If this property is set to 0, the System.Web.UI.WebControls.DataList control displays its items in a single row or column, based on the value of the DataList.RepeatDirection property. If the DataList.RepeatDirection property is set to RepeatDirection.Horizontal, the items are displayed in a single row. If the DataList.RepeatDirection property is set to RepeatDirection.Vertical, the items are displayed in a single column.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0