Share via


UIService.GetOwnerWindow Method (FrameworkElement)

Namespace:  Microsoft.TeamFoundation.MVVM
Assembly:  Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)

Syntax

'Declaration
Public Shared Function GetOwnerWindow ( _
    ownerElement As FrameworkElement _
) As Window
public static Window GetOwnerWindow(
    FrameworkElement ownerElement
)
public:
static Window^ GetOwnerWindow(
    FrameworkElement^ ownerElement
)
static member GetOwnerWindow : 
        ownerElement:FrameworkElement -> Window
public static function GetOwnerWindow(
    ownerElement : FrameworkElement
) : Window

Parameters

Return Value

Type: System.Windows.Window
Returns Window.

.NET Framework Security

See Also

Reference

UIService Class

GetOwnerWindow Overload

Microsoft.TeamFoundation.MVVM Namespace