Version

Insert(Int32,String,String) Method

Method that inserts a tab into the collection at a specific index with a given key and text.
Syntax
'Declaration
 
Public Overloads Function Insert( _
   ByVal index As Integer, _
   ByVal key As String, _
   ByVal text As String _
) As UltraTab
public UltraTab Insert( 
   int index,
   string key,
   string text
)

Parameters

index
Where to insert the new tab
key
The key to assign the new tab
text
The caption text for the new tab

Return Value

The newly added tab
Remarks

The Insert method is an overloaded method. This method inserts a UltraTab at the UltraTab.Index it is passed and supplies a Key and UltraTab.Text to the tab. All tabs within the collection residing at the index or later in the collection will have their indexes increased by one. The index passed in must be an integer and the key and text that are passed must be strings.

UltraTabControlBase.Tabs.Insert(0, "myKey", "myText")

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also