WpfDialogAssistant.SetOwner Method (Window)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Call this method to set the owner of the window. 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 ( _
owner As Window _
)
public void SetOwner(
Window owner
)
public:
void SetOwner(
Window^ owner
)
member SetOwner :
owner:Window -> unit
public function SetOwner(
owner : Window
)
Parameters
- owner
Type: System.Windows.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.