WpfDialogAssistant.SetOwner Method (IWin32Window)
Call this method to set the owner of the Window from an IWin32Window.
For a modal dialog this property must be set.
Namespace: Microsoft.TeamFoundation.Controls.WPF
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Public Sub SetOwner ( _
win32Window As IWin32Window _
)
public void SetOwner(
IWin32Window win32Window
)
public:
void SetOwner(
IWin32Window^ win32Window
)
member SetOwner :
win32Window:IWin32Window -> unit
public function SetOwner(
win32Window : IWin32Window
)
Parameters
- win32Window
Type: System.Windows.Interop.IWin32Window
.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.