VmmAddInBase.SetAdminConsoleWindowAsParentOf Method (Window)
Applies To: System Center 2016 - Virtual Machine Manager
This method can be called to set the parent of a window to the Virtual Machine Manager console window.
Namespace: Microsoft.SystemCenter.VirtualMachineManager.UIAddIns
Assembly: Microsoft.SystemCenter.VirtualMachineManager.UIAddIns (in Microsoft.SystemCenter.VirtualMachineManager.UIAddIns.dll)
Syntax
public void SetAdminConsoleWindowAsParentOf(
Window childWindow
)
public:
virtual void SetAdminConsoleWindowAsParentOf(
Window^ childWindow
) sealed
abstract SetAdminConsoleWindowAsParentOf :
childWindow:Window -> unit
override SetAdminConsoleWindowAsParentOf :
childWindow:Window -> unit
Public Sub SetAdminConsoleWindowAsParentOf (
childWindow As Window
)
Parameters
childWindow
Type: System.Windows.WindowType: Window
The window to set the parent of.
Implements
IWindowHelper.SetAdminConsoleWindowAsParentOf(Window)
Remarks
This method is called by your add-in code after you create a window and want the parent-child relationship of that window to be established between itself and the Virtual Machine Manager console. This would ensure that the window you have shown is displayed in front of the Virtual Machine Manager console.
See Also
VmmAddInBase Class
Microsoft.SystemCenter.VirtualMachineManager.UIAddIns Namespace
Return to top