ChromiumWebBrowserParkControlOnHandleDestroyed Property |
Version 101.0.180
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: 101.0.180.0 (101.0.180.0)
Syntax public bool ParkControlOnHandleDestroyed { get; set; }
public:
property bool ParkControlOnHandleDestroyed {
bool get ();
void set (bool value);
}
Property Value
Type:
BooleanRemarks
You may wish to set this property to true when using the browser in conjunction
with https://github.com/dockpanelsuite/dockpanelsuite
See Also