Skip to main content
A newer version of this page is available. .

CustomDrawObjectEventArgs(GraphicsCache, ObjectPainter, ObjectInfoArgs, AppearanceObject) Constructor

Initializes a new instance of the CustomDrawObjectEventArgs class.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

public CustomDrawObjectEventArgs(
    GraphicsCache cache,
    ObjectPainter painter,
    ObjectInfoArgs info,
    AppearanceObject appearance
)

Parameters

Name Type Description
cache GraphicsCache

A GraphicsCache object that specifies the storage for the most used pens, fonts and brushes. This value is assigned to the CustomDrawEventArgs.Cache property.

painter DevExpress.Utils.Drawing.ObjectPainter

An DevExpress.Utils.Drawing.ObjectPainter object that provides facilities for painting an element using the default mechanism. This value is assigned to the CustomDrawObjectEventArgs.Painter property.

info DevExpress.Utils.Drawing.ObjectInfoArgs

A DevExpress.Utils.Drawing.ObjectInfoArgs object that contains information about the element being painted. This value is assigned to the CustomDrawObjectEventArgs.Info property.

appearance AppearanceObject

A AppearanceObject object that specifies the painted element’s appearance settings. This value is assigned to the CustomDrawEventArgs.Appearance property.

See Also