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 class 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.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft