IRepeatInfoUser Interface
TOC
Collapse the table of content
Expand the table of content

IRepeatInfoUser Interface

 

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

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

public interface IRepeatInfoUser

NameDescription
System_CAPS_pubpropertyHasFooter

Gets a value indicating whether the list control contains a footer section.

System_CAPS_pubpropertyHasHeader

Gets a value indicating whether the list control contains a heading section.

System_CAPS_pubpropertyHasSeparators

Gets a value indicating whether the list control contains a separator between items in the list.

System_CAPS_pubpropertyRepeatedItemCount

Gets the number of items in the list control.

NameDescription
System_CAPS_pubmethodGetItemStyle(ListItemType, Int32)

Retrieves the style of the specified item type at the specified index in the list control.

System_CAPS_pubmethodRenderItem(ListItemType, Int32, RepeatInfo, HtmlTextWriter)

Renders an item in the list with the specified information.

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

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft