alexa
menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class TabPrimitivesCollection

    The TabPrimitivesCollection provides the collection TabPrimitives.

    Inheritance
    System.Object
    TabPrimitivesCollection
    Implements
    System.IDisposable
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class TabPrimitivesCollection : CollectionBase, IDisposable

    Properties

    Item[Int32]

    Gets or sets the TabPrimitive based on the index.

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

    Methods

    Add(TabPrimitive)

    Add the TabPrimitive to TabPrimitivesCollection.

    Declaration
    public void Add(TabPrimitive tabPrimitive)
    Parameters
    Type Name Description
    TabPrimitive tabPrimitive

    The TabPrimitive instance.

    Contains(TabPrimitive)

    Indicates whether the TabPrimitivesCollection contains the TabPrimitive or not.

    Declaration
    public bool Contains(TabPrimitive tabPrimitive)
    Parameters
    Type Name Description
    TabPrimitive tabPrimitive

    The TabPrimitive instance.

    Returns
    Type
    System.Boolean

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public void Dispose()

    IndexOf(TabPrimitive)

    Returns the index of the TabPrimitive in TabPrimitivesCollection

    Declaration
    public int IndexOf(TabPrimitive tabPrimitive)
    Parameters
    Type Name Description
    TabPrimitive tabPrimitive

    The TabPrimitive instance.

    Returns
    Type Description
    System.Int32

    The index of the TabPrimitive.

    Insert(Int32, TabPrimitive)

    Insert the TabPrimitive in specified index.

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

    The index TabPrimitivesCollection, the TabPrimitive is inserted to.

    TabPrimitive tabPrimitive

    The TabPrimitive instance.

    OnCollectionChanged()

    Occurrs when TabPrimittives collection changed.

    Declaration
    protected void OnCollectionChanged()

    OnInsertComplete(Int32, Object)

    Occurs when Tab primitive insertion completed.

    Declaration
    protected override void OnInsertComplete(int index, object value)
    Parameters
    Type Name Description
    System.Int32 index

    The index of the tab primitive inserted.

    System.Object value

    The value needs to inserted.

    OnRemoveComplete(Int32, Object)

    Occurs when Tab primitive removed.

    Declaration
    protected override void OnRemoveComplete(int index, object value)
    Parameters
    Type Name Description
    System.Int32 index

    The index of the tab primitive inserted.

    System.Object value

    The value needs to inserted.

    OnSetComplete(Int32, Object, Object)

    Performs additional custom processes after setting a value in the System.Collections.CollectionBase instance.

    Declaration
    protected override void OnSetComplete(int index, object oldValue, object newValue)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index at which oldValue can be found.

    System.Object oldValue

    The value to replace with newValue.

    System.Object newValue

    The new value of the element at index.

    Remove(TabPrimitive)

    Remove the TabPrimitive from TabPrimitivesCollection.

    Declaration
    public void Remove(TabPrimitive tabPrimitive)
    Parameters
    Type Name Description
    TabPrimitive tabPrimitive

    The TabPrimitive instance.

    Events

    CollectionChanged

    Occurs when TabPrimitivesCollection changed.

    Declaration
    public event EventHandler CollectionChanged
    Event Type
    Type
    System.EventHandler

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved