• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class TypedControlCollection<T>

Restricts the client to add only controls of specific type into the control collection.

Inheritance
System.Object
TypedControlCollection<T>
Namespace: DotNetNuke.Web.UI.WebControls
Assembly: DotNetNuke.Web.dll
Syntax
public sealed class TypedControlCollection<T> : ControlCollection where T : Control
Type Parameters
Name Description
T

The type of control.

Constructors

| Improve this Doc View Source

TypedControlCollection(Control)

Initializes a new instance of the TypedControlCollection<T> class.

Declaration
public TypedControlCollection(Control owner)
Parameters
Type Name Description
Control owner

The owner control.

Methods

| Improve this Doc View Source

Add(Control)

Restricts the client to add only controls of specific type into the control collection.

Declaration
public override void Add(Control child)
Parameters
Type Name Description
Control child
| Improve this Doc View Source

AddAt(Int32, Control)

Restricts the client to add only controls of specific type into the control collection.

Declaration
public override void AddAt(int index, Control child)
Parameters
Type Name Description
System.Int32 index
Control child

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS