ChromiumWebBrowserPaint Event |
Version 92.0.260
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: 92.0.260.0 (92.0.260.0)
Syntax public event EventHandler<PaintEventArgs> Paint
public:
virtual event EventHandler<PaintEventArgs^>^ Paint {
void add (EventHandler<PaintEventArgs^>^ value);
void remove (EventHandler<PaintEventArgs^>^ value);
}
Value
Type:
SystemEventHandlerPaintEventArgsImplements
IWpfWebBrowserPaintSee Also