Click or drag to resize

ChromiumWebBrowserCleanupElement Property

Version 73.1.130
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: 73.1.130.0 (73.1.130.0)
Syntax
public FrameworkElement CleanupElement { get; set; }

Property Value

Type: FrameworkElement
The cleanup element.
See Also