System.Web.UI.WebControls.IRepeatInfoUser

Defines the properties and methods that must be implemented by any list control that repeats a list of items.

See Also: IRepeatInfoUser Members

Syntax

public interface IRepeatInfoUser

Remarks

The System.Web.UI.WebControls.IRepeatInfoUser interface defines the properties and methods that must be implemented by all list controls that repeats a list of items, such as System.Web.UI.WebControls.CheckBoxList, System.Web.UI.WebControls.DataList, and System.Web.UI.WebControls.RadioButtonList. To indicate whether a list control contains a heading section, footer section, or separators, this interface defines the IRepeatInfoUser.HasHeader, IRepeatInfoUser.HasFooter, and IRepeatInfoUser.HasSeparators properties, respectively. The IRepeatInfoUser.RepeatedItemCount property is used to represent the number of items in the list. Use the IRepeatInfoUser.GetItemStyle(ListItemType, int) method to determine the style of an item in the list. The IRepeatInfoUser.RenderItem(ListItemType, int, RepeatInfo, System.Web.UI.HtmlTextWriter) method is used to display an item.

Requirements

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