Xceed Docking Windows for WinForms v2.3 Documentation
Contains Method


Xceed.DockingWindows Namespace > ReadOnlyToolWindowCollection Class : Contains Method
A reference to the ToolWindow to locate.
Retrieves a boolean value indicating if a specific ToolWindow exists in the list.
Syntax
'Declaration
 
Public Function Contains( _
   ByVal toolWindow As ToolWindow _
) As Boolean
'Usage
 
Dim instance As ReadOnlyToolWindowCollection
Dim toolWindow As ToolWindow
Dim value As Boolean
 
value = instance.Contains(toolWindow)
public bool Contains( 
   ToolWindow toolWindow
)

Parameters

toolWindow
A reference to the ToolWindow to locate.

Return Value

true if the ToolWindow exists in the list; false otherwise.
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