Share via


RepeatedControls Class

Represents a container control designed to render its child controls in a repeating pattern.

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    Microsoft.SharePoint.WebControls.RepeatedControls
      Microsoft.SharePoint.WebControls.GenericInformationBar

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class RepeatedControls _
    Inherits Control _
    Implements INamingContainer
'Usage
Dim instance As RepeatedControls
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class RepeatedControls : Control, 
    INamingContainer

Remarks

The RepeatedControls control first emits the content specified by the HeaderHtml property. Next, for each individual child control, it emits the content specified by the BeforeControlHtml property. It then renders the child control itself and emits the content specified by the AfterControlHtml property. The control optionally emits any content specified in the SeparatorHtml property after each of these blocks of child control HTML if there are multiple child controls to render. Finally, the control emits the content specified by its FooterHtml property.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

RepeatedControls Members

Microsoft.SharePoint.WebControls Namespace