menu

WinForms

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

    Show / Hide Table of Contents

    Class TabBarPageCollection

    A collection of TabBarPage objects.

    Inheritance
    System.Object
    TabBarPageCollection
    WorksheetViewCollection
    Implements
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    Inherited Members
    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
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public class TabBarPageCollection : IList, ICollection, IEnumerable
    Remarks

    You can access this collection with the TabBarPages of a TabBarSplitterControl.

    Constructors

    TabBarPageCollection(TabBarSplitterControl)

    Initializes a new TabBarPageCollection and associates it with a TabBarSplitterControl.

    Declaration
    public TabBarPageCollection(TabBarSplitterControl owner)
    Parameters
    Type Name Description
    TabBarSplitterControl owner

    The TabBarSplitterControl that manages this collection.

    Properties

    Count

    Returns the number of pages.

    Declaration
    public virtual int Count { get; }
    Property Value
    Type
    System.Int32

    IsReadOnly

    Returns False.

    Declaration
    public virtual bool IsReadOnly { get; }
    Property Value
    Type
    System.Boolean

    Item[Int32]

    Gets / sets the TabBarPage at the specified index.

    Declaration
    public virtual TabBarPage this[int index] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type
    TabBarPage

    Methods

    Add(TabBarPage)

    Adds a TabBarPage to the collection.

    Declaration
    public virtual void Add(TabBarPage value)
    Parameters
    Type Name Description
    TabBarPage value

    The page to be added.

    AddRange(TabBarPage[])

    Adds an array of TabBarPage to this collection.

    Declaration
    public void AddRange(TabBarPage[] value)
    Parameters
    Type Name Description
    TabBarPage[] value

    The pages to be added.

    Clear()

    Clears all entries from the list.

    Declaration
    public virtual void Clear()

    Contains(TabBarPage)

    Indicates whether the specified TabBarPage belongs to this collection.

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

    The page to be tested.

    Returns
    Type Description
    System.Boolean

    True if page belongs to collection; False otherwise.

    CopyTo(TabBarPage[], Int32)

    Copies the collection objects to a one-dimensional System.Array instance beginning at the specified index.

    Declaration
    public void CopyTo(TabBarPage[] pages, int index)
    Parameters
    Type Name Description
    TabBarPage[] pages

    The one-dimensional System.Array that is the destination of the values copied from the collection.

    System.Int32 index

    The index of the array at which to begin inserting.

    GetEnumerator()

    Returns an enumerator that lets you enumerate through the list of TabBarPage items.

    Declaration
    public virtual IEnumerator GetEnumerator()
    Returns
    Type Description
    System.Collections.IEnumerator

    An enumerator.

    IndexOf(TabBarPage)

    Returns the index of the specified page to be queried.

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

    The page to look up.

    Returns
    Type Description
    System.Int32

    The zero-based index of the page; -1 if not found.

    Insert(Int32, TabBarPage)

    Inserts a TabBarPage at the specified index.

    Declaration
    public void Insert(int index, TabBarPage value)
    Parameters
    Type Name Description
    System.Int32 index

    The index where the page should be inserted.

    TabBarPage value

    The page to be inserted.

    Remove(TabBarPage)

    Removes a page from the collection.

    Declaration
    public virtual void Remove(TabBarPage value)
    Parameters
    Type Name Description
    TabBarPage value

    The page to remove.

    RemoveAt(Int32)

    Removes an item at the specified index.

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

    The item index.

    Explicit Interface Implementations

    ICollection.CopyTo(Array, Int32)

    Declaration
    void ICollection.CopyTo(Array dest, int index)
    Parameters
    Type Name Description
    System.Array dest
    System.Int32 index

    ICollection.IsSynchronized

    Declaration
    bool ICollection.IsSynchronized { get; }
    Returns
    Type
    System.Boolean

    ICollection.SyncRoot

    Declaration
    object ICollection.SyncRoot { get; }
    Returns
    Type
    System.Object

    IList.Add(Object)

    Declaration
    int IList.Add(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    System.Int32

    IList.Contains(Object)

    Declaration
    bool IList.Contains(object page)
    Parameters
    Type Name Description
    System.Object page
    Returns
    Type
    System.Boolean

    IList.get_Item(Int32)

    Declaration
    object IList.get_Item(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type
    System.Object

    IList.IndexOf(Object)

    Declaration
    int IList.IndexOf(object page)
    Parameters
    Type Name Description
    System.Object page
    Returns
    Type
    System.Int32

    IList.Insert(Int32, Object)

    Declaration
    void IList.Insert(int index, object value)
    Parameters
    Type Name Description
    System.Int32 index
    System.Object value

    IList.IsFixedSize

    Declaration
    bool IList.IsFixedSize { get; }
    Returns
    Type
    System.Boolean

    IList.Item[Int32]

    Declaration
    object IList.this[] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type
    System.Object

    IList.Remove(Object)

    Declaration
    void IList.Remove(object value)
    Parameters
    Type Name Description
    System.Object value

    IList.set_Item(Int32, Object)

    Declaration
    void IList.set_Item(int index, object value)
    Parameters
    Type Name Description
    System.Int32 index
    System.Object value

    Implements

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

    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