RepeatInfo Class
TOC
Collapse the table of content
Expand the table of content

RepeatInfo Class

 

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

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

System.Object
  System.Web.UI.WebControls.RepeatInfo

public sealed class RepeatInfo

NameDescription
System_CAPS_pubmethodRepeatInfo()

Initializes a new instance of the RepeatInfo class.

NameDescription
System_CAPS_pubpropertyCaption

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

System_CAPS_pubpropertyCaptionAlign

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

System_CAPS_pubpropertyOuterTableImplied

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

System_CAPS_pubpropertyRepeatColumns

Gets or sets the number of columns to render.

System_CAPS_pubpropertyRepeatDirection

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

System_CAPS_pubpropertyRepeatLayout

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

System_CAPS_pubpropertyUseAccessibleHeader

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

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodRenderRepeater(HtmlTextWriter, IRepeatInfoUser, Style, WebControl)

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

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

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

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

.NET Framework
Available since 1.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft