IRepeatInfoUser Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |