RowPreviewCustomDrawEventArgs(GraphicsCache, ObjectPainter, GridDataRowInfo) Constructor

Initializes a new instance of the RowPreviewCustomDrawEventArgs class.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v20.2.dll

Declaration

public RowPreviewCustomDrawEventArgs(
    GraphicsCache cache,
    ObjectPainter painter,
    GridDataRowInfo rowInfo
)
Public Sub New(
    cache As GraphicsCache,
    painter As ObjectPainter,
    rowInfo As GridDataRowInfo
)

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 default painting facilities. This value is assigned to the CustomDrawObjectEventArgs.Painter property.

rowInfo DevExpress.XtraGrid.Views.Grid.ViewInfo.GridDataRowInfo

A DevExpress.XtraGrid.Views.Grid.ViewInfo.GridDataRowInfo object which contains the View information about the row being processed.

See Also