Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RowPreviewCustomDrawEventArgs(GraphicsCache, ObjectPainter, GridDataRowInfo) Constructor

In This Article

Initializes a new instance of the RowPreviewCustomDrawEventArgs class.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

public RowPreviewCustomDrawEventArgs(
    GraphicsCache cache,
    ObjectPainter painter,
    GridDataRowInfo rowInfo
)

#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