Click or drag to resize

OnPaintEventArgs Class

Version 104.4.240
Event arguments to the OnPaint event handler. Pixel values are scaled relative to view coordinates based on the value of ScreenInfo.DeviceScaleFactor returned from GetScreenInfo.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    CefSharp.OffScreenOnPaintEventArgs

Namespace:  CefSharp.OffScreen
Assembly:  CefSharp.OffScreen (in CefSharp.OffScreen.dll) Version: 104.4.240.0 (104.4.240.0)
Syntax
public class OnPaintEventArgs : EventArgs

The OnPaintEventArgs type exposes the following members.

Constructors
  NameDescription
Public methodOnPaintEventArgs
Creates a new OnPaint event arg
Top
Properties
  NameDescription
Public propertyBufferHandle
contains the pixel data for the whole image. Will be width * height * 4 bytes in size and represents a BGRA image with an upper-left origin
Public propertyDirtyRect
Contains a rectangle in pixel coordinates that needs to be repainted.
Public propertyHandled
Gets or sets a value indicating whether the event is handled.
Public propertyHeight
Height
Public propertyIsPopup
Indicates whether the element is the view or the popup widge
Public propertyWidth
Width
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also