Click or drag to resize

ChromiumWebBrowserParkControlOnHandleDestroyed Property

Version 103.0.120
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: 103.0.120.0 (103.0.120.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