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)

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class RepeatedControls _
    Inherits Control _
    Implements INamingContainer
'Usage
Dim instance As RepeatedControls
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, 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