Click or drag to resize

IWpfWebBrowserPaint Event

Version 83.4.2
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: 83.4.2.0 (83.4.2.0)
Syntax
event EventHandler<PaintEventArgs> Paint

Value

Type: SystemEventHandlerPaintEventArgs
See Also