HeaderPane
Main
Hide
Share Link
Print

Item Property, TabCollectionClass Class

Returns the tab at the given position.

Class: TabCollectionClass
Namespace: Softelvdm.SftTabsNET
Assembly: Softelvdm.SftTabsNET

Syntax

public TabClass this[ int index ] { get; set; }
public TabClass this[ string name ] { get; }
Public Default Property Item( ByVal index As Integer ) As TabClass
Public Default ReadOnly Property Item( ByVal name As String ) As TabClass

The Item property is the indexer of the TabCollectionClass class, so languages supporting indexers can use array syntax, usually [] or (), to access the Item property.

Parameters

index

The zero-based index.

name

The name.

Value

The tab at the given position, or the tab with the given name (TabClass.Name property), which is null/Nothing if no tab has that name. A tab cannot be replaced using this property; use the TabCollectionClass.RemoveAt and TabCollectionClass.Insert methods.

Comments

Returns the tab at the given position.

A tab can be accessed by its zero-based position in the collection or by its name (TabClass.Name property).

See Also TabCollectionClass Class | Classes | SftTabs/NET 3.0