Name

IRepeatInfoUser

Synopsis

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 ReadOnly Property HasFooter As Boolean  
   Public ReadOnly Property HasHeader As Boolean  
   Public ReadOnly Property HasSeparators As Boolean  
   Public ReadOnly Property RepeatedItemCount As Integer  
' Public Instance Methods
   Public Function GetItemStyle(
        ByVal itemType As ListItemType, 
        ByVal repeatIndex As Integer) As Style  
   Public Sub RenderItem(ByVal itemType As ListItemType, 
        ByVal repeatIndex As Integer, 
        ByVal repeatInfo As RepeatInfo, 
        ByVal writer As System.Web.UI.HtmlTextWriter) 
End Interface

Get ASP.NET in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.