RepeatedControls class

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

Inheritance hierarchy


Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)


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


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


RepeatedControls members

Microsoft.SharePoint.WebControls namespace