Click or drag to resize

AbstractRenderHandler.OnPaint Method

Version 81.3.100
Called when an element should be painted. (Invoked from CefRenderHandler.OnPaint) This method is only called when SharedTextureEnabled is set to false.

Namespace:  CefSharp.Wpf.Rendering
Assembly:  CefSharp.Wpf (in CefSharp.Wpf.dll) Version: 81.3.100.0 (81.3.100.0)
Syntax
public virtual void OnPaint(
	bool isPopup,
	Rect dirtyRect,
	IntPtr buffer,
	int width,
	int height,
	Image image
)

Parameters

isPopup
Type: System.Boolean
indicates whether the element is the view or the popup widget.
dirtyRect
Type: CefSharp.Structs.Rect
contains the set of rectangles in pixel coordinates that need to be repainted
buffer
Type: System.IntPtr
The bitmap will be will be width * height *4 bytes in size and represents a BGRA image with an upper-left origin
width
Type: System.Int32
width
height
Type: System.Int32
height
image
Type: System.Windows.Controls.Image
image used as parent for rendered bitmap

Implements

IRenderHandler.OnPaint(Boolean, Rect, IntPtr, Int32, Int32, Image)
See Also