Editar

Compartir a través de


IRepeatInfoUser Interface

Definition

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

public interface class IRepeatInfoUser
public interface IRepeatInfoUser
type IRepeatInfoUser = interface
Public Interface IRepeatInfoUser
Derived

Remarks

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.

Properties

HasFooter

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

HasHeader

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

HasSeparators

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

RepeatedItemCount

Gets the number of items in the list control.

Methods

GetItemStyle(ListItemType, Int32)

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

RenderItem(ListItemType, Int32, RepeatInfo, HtmlTextWriter)

Renders an item in the list with the specified information.

Applies to

See also