Xceed Docking Windows for WinForms v2.3 Documentation
IndexOf(ToolWindow) Method


Xceed.DockingWindows Namespace > ReadOnlyToolWindowCollection Class > IndexOf Method : IndexOf(ToolWindow) Method
A reference to the ToolWindow to locate.
Searches for the specified ToolWindow and returns the zero-based index of the first occurrence within the list.
Syntax
'Declaration
 
Public Overloads Function IndexOf( _

   ByVal toolWindow As ToolWindow _

) As Integer
'Usage
 
Dim instance As ReadOnlyToolWindowCollection

Dim toolWindow As ToolWindow

Dim value As Integer

 

value = instance.IndexOf(toolWindow)
public int IndexOf( 

   ToolWindow toolWindow

)

Parameters

toolWindow
A reference to the ToolWindow to locate.

Return Value

The zero-based index of the first occurrence of toolWindow within the entire list, if found; otherwise, returns -1.
Requirements

Target Platforms: 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

Reference

ReadOnlyToolWindowCollection Class
ReadOnlyToolWindowCollection Members
Overload List