menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TabPageAdvCollection - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TabPageAdvCollection

    Contains a collection of TabPageAdv objects.

    Inheritance
    System.Object
    System.Collections.ArrayList
    TabPageAdvCollection
    Implements
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    System.ICloneable
    Inherited Members
    System.Collections.ArrayList.Adapter(System.Collections.IList)
    System.Collections.ArrayList.BinarySearch(System.Int32, System.Int32, System.Object, System.Collections.IComparer)
    System.Collections.ArrayList.BinarySearch(System.Object)
    System.Collections.ArrayList.BinarySearch(System.Object, System.Collections.IComparer)
    System.Collections.ArrayList.Capacity
    System.Collections.ArrayList.Clone()
    System.Collections.ArrayList.Contains(System.Object)
    System.Collections.ArrayList.CopyTo(System.Array)
    System.Collections.ArrayList.CopyTo(System.Array, System.Int32)
    System.Collections.ArrayList.CopyTo(System.Int32, System.Array, System.Int32, System.Int32)
    System.Collections.ArrayList.FixedSize(System.Collections.ArrayList)
    System.Collections.ArrayList.FixedSize(System.Collections.IList)
    System.Collections.ArrayList.GetRange(System.Int32, System.Int32)
    System.Collections.ArrayList.IndexOf(System.Object)
    System.Collections.ArrayList.IndexOf(System.Object, System.Int32)
    System.Collections.ArrayList.IndexOf(System.Object, System.Int32, System.Int32)
    System.Collections.ArrayList.IsFixedSize
    System.Collections.ArrayList.IsReadOnly
    System.Collections.ArrayList.IsSynchronized
    System.Collections.ArrayList.LastIndexOf(System.Object)
    System.Collections.ArrayList.LastIndexOf(System.Object, System.Int32)
    System.Collections.ArrayList.LastIndexOf(System.Object, System.Int32, System.Int32)
    System.Collections.ArrayList.ReadOnly(System.Collections.ArrayList)
    System.Collections.ArrayList.ReadOnly(System.Collections.IList)
    System.Collections.ArrayList.Repeat(System.Object, System.Int32)
    System.Collections.ArrayList.Reverse()
    System.Collections.ArrayList.Sort()
    System.Collections.ArrayList.Sort(System.Collections.IComparer)
    System.Collections.ArrayList.Synchronized(System.Collections.ArrayList)
    System.Collections.ArrayList.Synchronized(System.Collections.IList)
    System.Collections.ArrayList.SyncRoot
    System.Collections.ArrayList.ToArray()
    System.Collections.ArrayList.ToArray(System.Type)
    System.Collections.ArrayList.TrimToSize()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class TabPageAdvCollection : ArrayList, IList, ICollection, IEnumerable, ICloneable

    Constructors

    TabPageAdvCollection(TabPanelData, Control, ITabPanelDefaultProperties)

    Creates a new instance of the TabPageAdvCollection class.

    Declaration
    public TabPageAdvCollection(TabPanelData tabPanelData, Control parent, ITabPanelDefaultProperties tabPanelDefaultProperties)
    Parameters
    Type Name Description
    TabPanelData tabPanelData

    A TabPanelData instance.

    System.Windows.Forms.Control parent

    The parent tab control.

    ITabPanelDefaultProperties tabPanelDefaultProperties

    An instance of the ITabPanelDefaultProperties interface.

    Properties

    Count

    Overridden. See System.Collections.ArrayList.Count.

    Declaration
    public override int Count { get; }
    Property Value
    Type
    System.Int32
    Overrides
    System.Collections.ArrayList.Count

    Item[Int32]

    Gets / sets a TabPageAdv with the specified index in the collection. In C#, this property is the indexer for the TabPageAdvCollection class.

    Declaration
    public TabPageAdv this[int index] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index of the tab page to get / set.

    Property Value
    Type Description
    TabPageAdv

    The TabPageAdv at the specified index.

    Methods

    Add(TabPageAdv)

    Adds a TabPageAdv to the collection.

    Declaration
    public void Add(TabPageAdv value)
    Parameters
    Type Name Description
    TabPageAdv value

    The TabPageAdv to add.

    Add(Object)

    Adds an object to the end of the TabPageAdvCollection. Overridden. See System.Collections.ArrayList.Add(System.Object).

    Declaration
    public override int Add(object value)
    Parameters
    Type Name Description
    System.Object value

    The TabPageAdv to be added to the end of the TabPageAdvCollection. The value can be null.

    Returns
    Type Description
    System.Int32

    The TabPageAdvCollection index at which the value has been added.

    Overrides
    System.Collections.ArrayList.Add(System.Object)

    AddRange(ICollection)

    Adds the elements of an System.Collections.ICollection to the end of the TabPageAdvCollection. Overridden. See System.Collections.ArrayList.AddRange(System.Collections.ICollection).

    Declaration
    public override void AddRange(ICollection c)
    Parameters
    Type Name Description
    System.Collections.ICollection c
    Overrides
    System.Collections.ArrayList.AddRange(System.Collections.ICollection)

    Clear()

    Overridden. See System.Collections.ArrayList.Clear().

    Declaration
    public override void Clear()
    Overrides
    System.Collections.ArrayList.Clear()

    Contains(TabPageAdv)

    Indicates whether a specified tab page is in the collection.

    Declaration
    public bool Contains(TabPageAdv page)
    Parameters
    Type Name Description
    TabPageAdv page

    The TabPageAdv to locate in the collection.

    Returns
    Type Description
    System.Boolean

    True if the specified TabPageAdv is in the collection; false otherwise.

    GetEnumerator()

    Overridden. See System.Collections.ArrayList.GetEnumerator().

    Declaration
    public override IEnumerator GetEnumerator()
    Returns
    Type
    System.Collections.IEnumerator
    Overrides
    System.Collections.ArrayList.GetEnumerator()

    GetEnumerator(Int32, Int32)

    Returns an enumerator for a range of elements in the System.Collections.ArrayList.

    Declaration
    public override IEnumerator GetEnumerator(int index, int count)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based starting index of the TabPageAdvCollection section that the enumerator should refer to.

    System.Int32 count

    The number of TabPageAdv in the TabPageAdvCollection section that the enumerator should refer to.

    Returns
    Type Description
    System.Collections.IEnumerator

    An System.Collections.IEnumerator for the specified range of elements in the TabPageAdvCollection.

    Overrides
    System.Collections.ArrayList.GetEnumerator(System.Int32, System.Int32)

    GetTabPageAdvOfTabData(TabPageAdvCollection, ITabData)

    Returns the TabPageAdv instance of the specified ITabData.

    Declaration
    public static TabPageAdv GetTabPageAdvOfTabData(TabPageAdvCollection collection, ITabData tabData)
    Parameters
    Type Name Description
    TabPageAdvCollection collection

    The collection to search.

    ITabData tabData

    The ITabData instance.

    Returns
    Type Description
    TabPageAdv

    A TabPageAdv instance. Can be null.

    IndexOf(TabPageAdv)

    Returns the index of the specified tab page in the collection.

    Declaration
    public int IndexOf(TabPageAdv page)
    Parameters
    Type Name Description
    TabPageAdv page

    The TabPageAdv to locate in the collection.

    Returns
    Type Description
    System.Int32

    The zero-based index of the tab page; -1 if it cannot be found.

    Insert(Int32, Object)

    Overridden. See System.Collections.ArrayList.Insert(System.Int32, System.Object).

    Declaration
    public override void Insert(int index, object value)
    Parameters
    Type Name Description
    System.Int32 index
    System.Object value
    Overrides
    System.Collections.ArrayList.Insert(System.Int32, System.Object)

    InsertRange(Int32, ICollection)

    InsertRange is disabled for this collection. Overridden. See System.Collections.ArrayList.InsertRange(System.Int32, System.Collections.ICollection).

    Declaration
    public override void InsertRange(int index, ICollection c)
    Parameters
    Type Name Description
    System.Int32 index
    System.Collections.ICollection c
    Overrides
    System.Collections.ArrayList.InsertRange(System.Int32, System.Collections.ICollection)

    MoveTabPage(Int32, Int32)

    Moves tab pages around without removing and re-inserting them.

    Declaration
    public void MoveTabPage(int oldTabPos, int newTabPos)
    Parameters
    Type Name Description
    System.Int32 oldTabPos

    The old position.

    System.Int32 newTabPos

    The new position.

    Remove(TabPageAdv)

    Removes a TabPageAdv from the collection.

    Declaration
    public void Remove(TabPageAdv value)
    Parameters
    Type Name Description
    TabPageAdv value

    The TabPageAdv to remove.

    Remove(Object)

    Removes the first occurrence of a specific TabPageAdv from the TabPageAdvCollection. This method ensures that the obj argument is of type TabPageAdv.

    Declaration
    public override void Remove(object obj)
    Parameters
    Type Name Description
    System.Object obj

    The System.Object to remove from the TabPageAdvCollection. The value can be null.

    Overrides
    System.Collections.ArrayList.Remove(System.Object)

    RemoveAt(Int32)

    Removes the TabPageAdv at the specified index of the TabPageAdvCollection. Overridden. See System.Collections.ArrayList.RemoveAt(System.Int32).

    Declaration
    public override void RemoveAt(int index)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index of the TabPageAdv to remove.

    Overrides
    System.Collections.ArrayList.RemoveAt(System.Int32)

    RemoveRange(Int32, Int32)

    Removes a range of elements from the TabPageAdvCollection.

    Declaration
    public override void RemoveRange(int index, int count)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based starting index of the range of elements to remove.

    System.Int32 count

    The number of elements to remove.

    Overrides
    System.Collections.ArrayList.RemoveRange(System.Int32, System.Int32)

    Reverse(Int32, Int32)

    Reverse is disabled for this collection. Overridden. See System.Collections.ArrayList.Reverse().

    Declaration
    public override void Reverse(int index, int count)
    Parameters
    Type Name Description
    System.Int32 index
    System.Int32 count
    Overrides
    System.Collections.ArrayList.Reverse(System.Int32, System.Int32)

    SetRange(Int32, ICollection)

    SetRange is disabled for this collection. Overridden. See System.Collections.ArrayList.SetRange(System.Int32, System.Collections.ICollection).

    Declaration
    public override void SetRange(int index, ICollection c)
    Parameters
    Type Name Description
    System.Int32 index
    System.Collections.ICollection c
    Overrides
    System.Collections.ArrayList.SetRange(System.Int32, System.Collections.ICollection)

    Sort(Int32, Int32, IComparer)

    Sort is disabled for this collection. Overridden. See System.Collections.ArrayList.Sort().

    Declaration
    public override void Sort(int index, int count, IComparer comparer)
    Parameters
    Type Name Description
    System.Int32 index
    System.Int32 count
    System.Collections.IComparer comparer
    Overrides
    System.Collections.ArrayList.Sort(System.Int32, System.Int32, System.Collections.IComparer)

    Implements

    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    System.ICloneable

    Extension Methods

    EnumerableExtensions.GetElementType(IEnumerable)
    EnumerableExtensions.GetItemPropertyInfo(IEnumerable)
    FunctionalExtensions.ForEach<T>(IEnumerable, Action<T>)
    FunctionalExtensions.ToList<T>(IEnumerable)
    FunctionalExtensions.MoveTo(IList, Int32, Int32)
    QueryableExtensions.OfQueryable(IEnumerable)
    QueryableExtensions.OfQueryable(IEnumerable, Type)
    QueryableExtensions.GroupByMany<TElement>(IEnumerable, Type, List<Func<TElement, Object>>)
    QueryableExtensions.GroupByMany(IEnumerable, Type, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Dictionary<String, IComparer<Object>>, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Func<String, Expression>, String[])
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved