Class ControlCollectionExtensions
Extension methods for the ControlCollection class
Inheritance
System.Object
ControlCollectionExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.EPiServer.Common.Web.UI.Html
Assembly: ImageVault.EPiServer.Common.dll
Syntax
public static class ControlCollectionExtensions
Methods
AddDiv(ControlCollection, Control[])
Adds a div to the control collection
Declaration
public static HtmlGenericControl AddDiv(this ControlCollection col, params Control[] controls)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.ControlCollection | col | The System.Web.UI.ControlCollection to add the div to |
System.Web.UI.Control[] | controls | The System.Web.UI.Control array of controls to add to the div |
Returns
Type | Description |
---|---|
System.Web.UI.HtmlControls.HtmlGenericControl | The added div tag |