System.Web.UI.WebControls (system.web.dll)interface

This interface specifies the contract for the RepeatInfo class. These requirements include properties that identify whether footer or header information is present (HasFooter and HasHeader) and identify the number of times the chosen control will be repeated (RepeatedItemCount). This interface also requires a method for rendering the chosen control (RenderItem( )), which will be used for each repetition.

public interface IRepeatInfoUser {
// Public Instance Properties
   public bool HasFooter{get; }
   public bool HasHeader{get; }
   public bool HasSeparators{get; }
   public int RepeatedItemCount{get; }
// Public Instance Methods
   public Style GetItemStyle(ListItemType itemType, int repeatIndex);
   public void RenderItem(ListItemType itemType, int repeatIndex, RepeatInfo repeatInfo, 
        System.Web.UI.HtmlTextWriter writer);

Implemented By

CheckBoxList, DataList, RadioButtonList

Passed To

RepeatInfo.RenderRepeater( )

    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace