Click or drag to resize

ChromiumWebBrowserCleanupElement Property

Version 85.3.121
The CleanupElement Controls when the BrowserResources will be cleaned up. The ChromiumWebBrowser will register on Unloaded of the provided Element and dispose all resources when that handler is called. By default the cleanup element is the Window that contains the ChromiumWebBrowser. if you want cleanup to happen earlier provide another FrameworkElement. Be aware that this Control is not usable anymore after cleanup is done.

Namespace:  CefSharp.Wpf
Assembly:  CefSharp.Wpf (in CefSharp.Wpf.dll) Version: 85.3.121.0 (85.3.121.0)
Syntax
public FrameworkElement CleanupElement { get; set; }

Property Value

Type: FrameworkElement
The cleanup element.
See Also