HeaderPane
Main
Hide
Share Link
Print

TabCollectionClass Class

The TabCollectionClass class describes the tabs of a SftTabs/NET control.

There is one instance of the TabCollectionClass class for one SftTabs/NET control. It is accessed using the control's SftTabs.Tabs property. Tabs and tab pages pair by position: the tab at index n uses the page at index n of the control's Controls collection.

Namespace: Softelvdm.SftTabsNET
Assembly: Softelvdm.SftTabsNET

Inheritance

Syntax

public class TabCollectionClass : System.Collections.Generic.IList`1,
    System.Collections.IList,
    System.ComponentModel.INotifyPropertyChanged;
Public Class TabCollectionClass
    Implements System.Collections.Generic.IList`1
    Implements System.Collections.IList
    Implements System.ComponentModel.INotifyPropertyChanged

Constructors

This class cannot be instantiated.

Properties

PublicCountThe number of tabs.
PublicItemReturns the tab at the given position.
PublicVisibleCountThe number of visible tabs (Visible property).

Methods

PublicAddAdds a new tab.
PublicAddRangeAdds tabs.
PublicClearRemoves all tabs.
PublicContainsIndicates whether the collection contains the given tab.
PublicCopyToCopies the tabs to an array.
PublicInherited from System.ObjectEqualsDetermines whether the specified object is equal to the current object.
ProtectedInherited from System.ObjectFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
PublicGetEnumeratorReturns an enumerator for the tabs.
PublicInherited from System.ObjectGetHashCodeServes as the default hash function.
PublicInherited from System.ObjectGetTypeGets the Type of the current instance.
PublicIndexOfReturns the position of the given tab.
PublicInsertInserts a tab at the given position.
ProtectedInherited from System.ObjectMemberwiseCloneCreates a shallow copy of the current Object.
PublicMoveMoves a tab to another position.
PublicStaticInherited from System.ObjectReferenceEqualsDetermines whether the specified Object instances are the same instance.
PublicRemoveRemoves a tab.
PublicRemoveAtRemoves the tab at the given position.
PublicInherited from System.ObjectToStringReturns a string that represents the current object.

Events

PublicPropertyChangedOccurs when the collection is modified.

See Also Classes | SftTabs/NET 3.0