Click or drag to resize

ChromiumWebBrowserCleanupElement Property

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

Property Value

Type: FrameworkElement
The cleanup element.
See Also