Class TabControl.TabCollection
Represents a collection of tabs.
Inheritance
System.Object
TabControl.TabCollection
Assembly: TabControl.dll
public class TabCollection : IList<Tab>, ICollection<Tab>, IEnumerable<Tab>, IList, ICollection, IEnumerable
Constructors
|
Improve this Doc
View Source
Declaration
protected TabCollection(TabControl parent)
Parameters
Type |
Name |
Description |
TabControl |
parent |
The parent control.
|
Properties
|
Improve this Doc
View Source
Declaration
protected TabControl Control { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public bool IsReadOnly { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Gets the tab at the given index.
Declaration
public Tab this[int index] { get; set; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Property Value
|
Improve this Doc
View Source
Pages
Gets the page collection of owner control.
Declaration
protected PagedControl.PageCollection Pages { get; }
Property Value
Type |
Description |
Manina.Windows.Forms.PagedControl.PageCollection |
|
Methods
|
Improve this Doc
View Source
Declaration
public void Add(Tab item)
Parameters
Type |
Name |
Description |
Tab |
item |
|
|
Improve this Doc
View Source
Declaration
|
Improve this Doc
View Source
Declaration
public bool Contains(Tab item)
Parameters
Type |
Name |
Description |
Tab |
item |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public void CopyTo(Tab[] array, int arrayIndex)
Parameters
Type |
Name |
Description |
Tab[] |
array |
|
System.Int32 |
arrayIndex |
|
|
Improve this Doc
View Source
Declaration
public IEnumerator<Tab> GetEnumerator()
Returns
Type |
Description |
System.Collections.Generic.IEnumerator<Tab> |
|
|
Improve this Doc
View Source
Declaration
public int IndexOf(Tab item)
Parameters
Type |
Name |
Description |
Tab |
item |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public void Insert(int index, Tab item)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Tab |
item |
|
|
Improve this Doc
View Source
Declaration
public bool Remove(Tab item)
Parameters
Type |
Name |
Description |
Tab |
item |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public void RemoveAt(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|