NetXP 3.0 Reference

TabControl.FindIndex Method 

Loops over all the TabPages to find the index of the given TabPage.

[Visual Basic]
Public Function FindIndex( _
   ByVal page As TabPage _
) As Integer
[C#]
public int FindIndex(
   TabPage page
);

Parameters

page
The TabPage we want the index for.

Return Value

The index of the given TabPage(-1 if it isn't found.)

See Also

TabControl Class | NETXP.Controls.Docking Namespace