Intersoft ClientUI Documentation
GetWindowHost Method (UXWindow)



The UIElement.
Returns a reference to the IWindow object that hosts the content tree within which the UIElement is located.
Syntax
Public Shared Function GetWindowHost( _
   ByVal element As UIElement _
) As IWindow
Dim element As UIElement
Dim value As IWindow
 
value = UXWindow.GetWindowHost(element)
public static IWindow GetWindowHost( 
   UIElement element
)
public:
static IWindow^ GetWindowHost( 
   UIElement^ element
) 

Parameters

element
The UIElement.

Return Value

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

UXWindow Class
UXWindow Members

Send Feedback