Intersoft ClientUI Documentation
FindWindow Method
See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXDock Namespace > UXDesktopDockButton Class : FindWindow Method






control
The target items control that hosts a collection of IWindow.
searchFlags
The flags that specifies the attributes to be included in the search.
Finds the window associated to this button.

Syntax

Visual Basic (Declaration) 
Public Function FindWindow( _
   ByVal control As ItemsControl, _
   ByVal searchFlags As SearchFlags _
) As IWindow
Visual Basic (Usage)Copy Code
Dim instance As UXDesktopDockButton
Dim control As ItemsControl
Dim searchFlags As SearchFlags
Dim value As IWindow
 
value = instance.FindWindow(control, searchFlags)
C# 
public IWindow FindWindow( 
   ItemsControl control,
   SearchFlags searchFlags
)
Delphi 
public function FindWindow( 
    control: ItemsControl;
    searchFlags: SearchFlags
): IWindow; 
JScript 
public function FindWindow( 
   control : ItemsControl,
   searchFlags : SearchFlags
) : IWindow;
Managed Extensions for C++ 
public: IWindow* FindWindow( 
   ItemsControl* control,
   SearchFlags searchFlags
) 
C++/CLI 
public:
IWindow^ FindWindow( 
   ItemsControl^ control,
   SearchFlags searchFlags
) 

Parameters

control
The target items control that hosts a collection of IWindow.
searchFlags
The flags that specifies the attributes to be included in the search.

Return Value

Returns IWindow object.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.