WindowParentingSetParent(Control, Boolean, Boolean, Boolean, Boolean) Method
Sets a new parent window for the source window.
Namespace: DevCase.Core.Diagnostics.ProcessesAssembly: 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(
Control parentWindow,
bool fitToParentBounds,
bool removeBorder,
bool removeCaption,
bool resizable
)
Public Overridable Sub SetParent (
parentWindow As Control,
fitToParentBounds As Boolean,
removeBorder As Boolean,
removeCaption As Boolean,
resizable As Boolean
)
Dim instance As WindowParenting
Dim parentWindow As Control
Dim fitToParentBounds As Boolean
Dim removeBorder As Boolean
Dim removeCaption As Boolean
Dim resizable As Boolean
instance.SetParent(parentWindow, fitToParentBounds,
removeBorder, removeCaption, resizable)
public:
virtual void SetParent(
Control^ parentWindow,
bool fitToParentBounds,
bool removeBorder,
bool removeCaption,
bool resizable
)
abstract SetParent :
parentWindow : Control *
fitToParentBounds : bool *
removeBorder : bool *
removeCaption : bool *
resizable : bool -> unit
override SetParent :
parentWindow : Control *
fitToParentBounds : bool *
removeBorder : bool *
removeCaption : bool *
resizable : bool -> unit
No code example is currently available or this language may not be supported.
Parameters
- parentWindow Control
-
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.
InvalidOperationException
|
Source window already has a parent window.
|