Class TabControlAdv.ControlCollection
Contains a list of Control instances.
Inheritance
System.Object
TabControlAdv.ControlCollection
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class ControlCollection : Control.ControlCollection
Remarks
This collection makes sure that the TabControlAdv's Controls list will get populated with only TabPageAdv objects.
Constructors
ControlCollection(TabControlAdv)
Creates an instance of the TabControlAdv.ControlCollection class.
Declaration
public ControlCollection(TabControlAdv tabControl)
Parameters
Type | Name | Description |
---|---|---|
TabControlAdv | tabControl | The TabControlAdv object whose tab page collection this list will hold. |
Methods
Add(Control)
Adds the specified control to the collection.
Declaration
public override void Add(Control value)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Control | value | The tabpage to add. |
AddRange(Control[])
Overridden. See System.Windows.Forms.Control.ControlCollection.AddRange(System.Windows.Forms.Control[])
Declaration
public override void AddRange(Control[] controls)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Control[] | controls | An array of controls. |
Remove(Control)
Removed the specified control to the collection..
Declaration
public override void Remove(Control value)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Control | value | The tabpage to remove. |