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
- ownerElement
Type: System.Windows.FrameworkElement
Return Value
Type: System.Windows.Window
Returns Window.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.