WindowParentingSetParent(IWin32Window, Boolean, Boolean, Boolean, Boolean) Method

Sets a new parent window for the source window.

Definition

Namespace: DevCase.Core.Diagnostics.Processes
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public virtual void SetParent(
	IWin32Window parentWindow,
	bool fitToParentBounds,
	bool removeBorder,
	bool removeCaption,
	bool resizable
)

Parameters

parentWindow  IWin32Window
The parent window.
fitToParentBounds  Boolean
If set to , fits to size of the source window to the parent window bounds.
removeBorder  Boolean
If set to , removes the border from the source window.
removeCaption  Boolean
If set to , removes the caption from the source window.
resizable  Boolean
If set to , remove sthe size frame from the source window.

Exceptions

InvalidOperationException Source window already has a parent window.

See Also