Export (0) Print
Expand All

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

The IRepeatInfoUser type exposes the following members.

  NameDescription
Public propertyHasFooterGets a value indicating whether the list control contains a footer section.
Public propertyHasHeaderGets a value indicating whether the list control contains a heading section.
Public propertyHasSeparatorsGets a value indicating whether the list control contains a separator between items in the list.
Public propertyRepeatedItemCountGets the number of items in the list control.
Top

  NameDescription
Public methodGetItemStyleRetrieves the style of the specified item type at the specified index in the list control.
Public methodRenderItemRenders an item in the list with the specified information.
Top

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft