ChromiumWebBrowserCleanupElement Property |
Version 99.2.120
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: 99.2.120.0 (99.2.120.0)
Syntax public FrameworkElement CleanupElement { get; set; }
public:
property FrameworkElement^ CleanupElement {
FrameworkElement^ get ();
void set (FrameworkElement^ value);
}
Property Value
Type:
FrameworkElementThe cleanup element.
See Also