Skip to main content

RowCellObjectCustomDrawEventArgs(GraphicsCache, Int32, GridColumn, ObjectPainter, ObjectInfoArgs, AppearanceObject) Constructor

Initializes a new instance of the RowCellObjectCustomDrawEventArgs class.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v23.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation


public RowCellObjectCustomDrawEventArgs(
    GraphicsCache cache,
    int rowHandle,
    GridColumn column,
    ObjectPainter painter,
    ObjectInfoArgs info,
    AppearanceObject appearance


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.

rowHandle Int32

An integer value identifying the painted element’s row by its handle. This value is assigned to the RowObjectCustomDrawEventArgs.RowHandle property.

column GridColumn

A GridColumn object (or a descendant) that represents the column corresponding to the painted element. This value is assigned to the RowCellObjectCustomDrawEventArgs.Column property.

painter DevExpress.Utils.Drawing.ObjectPainter

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

info DevExpress.Utils.Drawing.ObjectInfoArgs

A DevExpress.Utils.Drawing.StyleObjectInfoArgs object that contains the View 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