Export (0) Print
Expand All

RepeatedControls class

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

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

[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class RepeatedControls : Control, 
	INamingContainer

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.

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

Community Additions

Show:
© 2014 Microsoft