Show / Hide Table of Contents

Class TabControl.TabCollection

Represents a collection of tabs.

Inheritance
System.Object
TabControl.TabCollection
Namespace: Manina.Windows.Forms
Assembly: TabControl.dll
Syntax
public class TabCollection : IList<Tab>, ICollection<Tab>, IEnumerable<Tab>, IList, ICollection, IEnumerable

Constructors

| Improve this Doc View Source

TabCollection(TabControl)

Intializes a new instance of TabControl.TabCollection.

Declaration
protected TabCollection(TabControl parent)
Parameters
Type Name Description
TabControl parent

The parent control.

Properties

| Improve this Doc View Source

Control

Gets the owner control.

Declaration
protected TabControl Control { get; }
Property Value
Type Description
TabControl
| Improve this Doc View Source

Count

Gets the count of items.

Declaration
public int Count { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

IsReadOnly

Declaration
public bool IsReadOnly { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Item[Int32]

Gets the tab at the given index.

Declaration
public Tab this[int index] { get; set; }
Parameters
Type Name Description
System.Int32 index
Property Value
Type Description
Tab
| 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

Add(Tab)

Declaration
public void Add(Tab item)
Parameters
Type Name Description
Tab item
| Improve this Doc View Source

Clear()

Declaration
public void Clear()
| Improve this Doc View Source

Contains(Tab)

Declaration
public bool Contains(Tab item)
Parameters
Type Name Description
Tab item
Returns
Type Description
System.Boolean
| Improve this Doc View Source

CopyTo(Tab[], Int32)

Declaration
public void CopyTo(Tab[] array, int arrayIndex)
Parameters
Type Name Description
Tab[] array
System.Int32 arrayIndex
| Improve this Doc View Source

GetEnumerator()

Declaration
public IEnumerator<Tab> GetEnumerator()
Returns
Type Description
System.Collections.Generic.IEnumerator<Tab>
| Improve this Doc View Source

IndexOf(Tab)

Declaration
public int IndexOf(Tab item)
Parameters
Type Name Description
Tab item
Returns
Type Description
System.Int32
| Improve this Doc View Source

Insert(Int32, Tab)

Declaration
public void Insert(int index, Tab item)
Parameters
Type Name Description
System.Int32 index
Tab item
| Improve this Doc View Source

Remove(Tab)

Declaration
public bool Remove(Tab item)
Parameters
Type Name Description
Tab item
Returns
Type Description
System.Boolean
| Improve this Doc View Source

RemoveAt(Int32)

Declaration
public void RemoveAt(int index)
Parameters
Type Name Description
System.Int32 index
Back to top Copyright © 2018 Özgür Özçıtak