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, 3.5, 3.0, 2.0, 1.1, 1.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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

Community Additions

ADD
Show:
© 2014 Microsoft