WindowParentingReleaseParent Method
Release the source window from its current parent 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 ReleaseParent(
bool throwOnInvalidSourceWindowHandle = false
)
Public Overridable Sub ReleaseParent (
Optional throwOnInvalidSourceWindowHandle As Boolean = false
)
Dim instance As WindowParenting
Dim throwOnInvalidSourceWindowHandle As Boolean
instance.ReleaseParent(throwOnInvalidSourceWindowHandle)
public:
virtual void ReleaseParent(
bool throwOnInvalidSourceWindowHandle = false
)
abstract ReleaseParent :
?throwOnInvalidSourceWindowHandle : bool
(* Defaults:
let _throwOnInvalidSourceWindowHandle = defaultArg throwOnInvalidSourceWindowHandle false
*)
-> unit
override ReleaseParent :
?throwOnInvalidSourceWindowHandle : bool
(* Defaults:
let _throwOnInvalidSourceWindowHandle = defaultArg throwOnInvalidSourceWindowHandle false
*)
-> unit
No code example is currently available or this language may not be supported.
Parameters
- throwOnInvalidSourceWindowHandle Boolean (Optional)
-
If set to , throws an NullReferenceException
if the source window handle specified in WindowHandle is invalid.
This can be useful if you need to detect whether the source window has been destroyed.