Click or drag to resize

ChromiumWebBrowserParkControlOnHandleDestroyed Property

Version 94.4.20
By default when OnHandleDestroyed(EventArgs) is called the underlying Browser Hwnd is only parked (moved to a temp parent) when RecreatingHandle is true, there are a few other cases where parking of the control is desired, you can force parking by setting this property to true.

Namespace:  CefSharp.WinForms
Assembly:  CefSharp.WinForms (in CefSharp.WinForms.dll) Version: 94.4.20.0 (94.4.20.0)
Syntax
public bool ParkControlOnHandleDestroyed { get; set; }

Property Value

Type: Boolean
Remarks
You may wish to set this property to true when using the browser in conjunction with https://github.com/dockpanelsuite/dockpanelsuite
See Also