System.Web 1.0.5000.0 2.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Object

The class encapsulates the information used to render a list control that repeats a list of items, such as , , and . It is primarily used by control developers.

For a list of initial property values for an instance of , see the constructor.

Encapsulates the information used to render a list control that repeats a list of items. This class cannot be inherited.

- Constructor

  Use this constructor to create and initialize a new instance of the class using default values.

  The following table shows initial property values for an instance of .

  Property

  Initial Value

  OuterTableImplied

  false

  RepeatColumns

  0

  RepeatDirection

  RepeatLayout

  Initializes a new instance of the class.

  1.0.5000.0
  2.0.0.0
- Property
  1.0.5000.0
  2.0.0.0
  System.String To be added. To be added.

  Gets or sets the property if the control is rendered as a .

- Property
  1.0.5000.0
  2.0.0.0
  System.ComponentModel.DefaultValue(System.Web.UI.WebControls.TableCaptionAlign.NotSet)
  System.Web.UI.WebControls.TableCaptionAlign To be added.

  This property sets the property of the rendered .

  Gets or sets the alignment of the caption, if the is rendered as a .

- Property
  System.Boolean To be added: an object of type 'bool'

  Use the property to specify whether items should be rendered as if they are contained in a table.

  Gets or sets a value indicating whether items should be rendered as if they are contained in a table.

  1.0.5000.0
  2.0.0.0
- Method
  System.Void `` `` `` `` To be added.

  Use the method to render a list control that repeats a list of items, using the specified information.

  Renders a list control that repeats a list of items, using the specified information.

  An implemented object that represents the control to render. A that represents the style in which to display the items. The control from which to copy base attributes. 1.0.5000.0 2.0.0.0
- Property
  System.Int32 To be added: an object of type 'int'

  Use the property to specify the number of columns to render in the control.

  Gets or sets the number of columns to render.

  1.0.5000.0
  2.0.0.0
- Property
  System.Web.UI.WebControls.RepeatDirection To be added: an object of type 'RepeatDirection'

  Use the property to specify the direction that the items are rendered.

  The number of columns displayed is always determined by the property.

  If this property is set to RepeatDirection.Vertical, the items in the list are displayed in columns loaded top to bottom, then left to right, until all items are rendered. For example, if the property is set to 3, the items are displayed in three columns, as in the following table.

  1

  4

  7

  2

  5

  8

  3

  6

  9

  If this property is set to RepeatDirection.Horizontal, the items in the list are displayed in rows loaded left to right, then top to bottom, until all items are rendered. For example, if the property is set to 3, the items are displayed in rows of three items each, as in the following table.

  1

  2

  3

  4

  5

  6

  7

  8

  9

  Gets or sets a value that specifies whether the items are displayed vertically or horizontally.

  1.0.5000.0
  2.0.0.0
- Property
  System.Web.UI.WebControls.RepeatLayout To be added: an object of type 'RepeatLayout'

  Use the property to specify whether the items are displayed in a table. If this property is set to , the items in the list are displayed in a table. If this property is set to , the items in the list are displayed without a table structure.

  Gets or sets a value specifying whether items are displayed in a table.

  1.0.5000.0
  2.0.0.0
- Property
  1.0.5000.0
  2.0.0.0
  System.ComponentModel.DefaultValue(false)
  System.Boolean To be added.

  If true and the control is rendered as a , a "scope" attribute with value "col" is added and a table header cell (<th>) is rendered instead of a table cell (<td>) for the header cells when the is rendered. This attribute can be used by screen readers.

  Gets or sets a value to indicate whether to add a attribute when the control is rendered as a .