System.Web.UI.WebControls.DataList.RepeatLayout Property

Gets or sets whether the control is displayed in a table or flow layout.

Syntax

[System.ComponentModel.DefaultValue(System.Web.UI.WebControls.RepeatLayout.Table)]
public virtual RepeatLayout RepeatLayout { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the DataList.RepeatLayout property to specify whether the items in the System.Web.UI.WebControls.DataList control are displayed in a table. The only System.Web.UI.WebControls.RepeatLayout values that are supported by the System.Web.UI.WebControls.DataList control are RepeatLayout.Table and RepeatLayout.Flow.

If this property is set to RepeatLayout.Table, the items in the list are displayed in a table. If this property is set to RepeatLayout.Flow, the items in the list are displayed without a table structure.

When the System.Web.UI.WebControls.DataList control is displayed in a table, you can use the DataList.GridLines property to specify a grid line style.

Requirements

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