Intersoft ClientUI Documentation
GetWindowHost Method
See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXDesktop Namespace > UXWindow Class : GetWindowHost Method






element
The UIElement.
Returns a reference to the IWindow object that hosts the content tree within which the UIElement is located.

Syntax

Visual Basic (Declaration) 
Public Shared Function GetWindowHost( _
   ByVal element As UIElement _
) As IWindow
Visual Basic (Usage)Copy Code
Dim element As UIElement
Dim value As IWindow
 
value = UXWindow.GetWindowHost(element)
C# 
public static IWindow GetWindowHost( 
   UIElement element
)
Delphi 
public function GetWindowHost( 
    element: UIElement
): IWindow; static; 
JScript 
public static function GetWindowHost( 
   element : UIElement
) : IWindow;
Managed Extensions for C++ 
public: static IWindow* GetWindowHost( 
   UIElement* element
) 
C++/CLI 
public:
static IWindow^ GetWindowHost( 
   UIElement^ element
) 

Parameters

element
The UIElement.

Return Value

A 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.