VmmAddInBase::SetAdminConsoleWindowAsParentOf Method (Window^)

System Center
 

Updated: June 20, 2017

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)

public:
virtual void SetAdminConsoleWindowAsParentOf(
	Window^ childWindow
) sealed

Parameters

childWindow
Type: System.Windows::Window^

Type: Window

The window to set the parent of.

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.

Return to top
Show: