Edit

Share via


RepeatInfo Class

Definition

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

public ref class RepeatInfo sealed
public sealed class RepeatInfo
type RepeatInfo = class
Public NotInheritable Class RepeatInfo
Inheritance
RepeatInfo

Remarks

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.

Constructors

RepeatInfo()

Initializes a new instance of the RepeatInfo class.

Properties

Caption

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

CaptionAlign

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

OuterTableImplied

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

RepeatColumns

Gets or sets the number of columns to render.

RepeatDirection

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

RepeatLayout

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

UseAccessibleHeader

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

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
RenderRepeater(HtmlTextWriter, IRepeatInfoUser, Style, WebControl)

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

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also