Click or drag to resize

ChromiumWebBrowserPaint Event

Version 103.0.120
Raised every time OnPaint(PaintElementType, Rect, IntPtr, Int32, Int32) is called. You can access the underlying buffer, though it's preferable to either override OnPaint(Boolean, Rect, IntPtr, Int32, Int32) or implement your own IRenderHandler as there is no outwardly accessible locking (locking is done within the default IRenderHandler implementations). It's important to note this event is fired on a CEF UI thread, which by default is not the same as your application UI thread

Namespace:  CefSharp.Wpf
Assembly:  CefSharp.Wpf (in CefSharp.Wpf.dll) Version: 103.0.120.0 (103.0.120.0)
Syntax
public event EventHandler<PaintEventArgs> Paint

Value

Type: SystemEventHandlerPaintEventArgs

Implements

IWpfWebBrowserPaint
See Also