RowIndicatorCustomDrawEventArgs(GraphicsCache, Int32, ObjectPainter, IndicatorObjectInfoArgs) Constructor

Initializes a new instance of the RowIndicatorCustomDrawEventArgs class with the specified parameters.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v20.2.dll

Declaration

public RowIndicatorCustomDrawEventArgs(
    GraphicsCache cache,
    int rowHandle,
    ObjectPainter painter,
    IndicatorObjectInfoArgs info
)
Public Sub New(
    cache As GraphicsCache,
    rowHandle As Integer,
    painter As ObjectPainter,
    info As IndicatorObjectInfoArgs
)

Parameters

Name Type Description
cache GraphicsCache

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

rowHandle Int32

An integer value which represents the handle of the row whose indicator cell is being painted. This value is assigned to the RowObjectCustomDrawEventArgs.RowHandle property.

painter DevExpress.Utils.Drawing.ObjectPainter

A DevExpress.Utils.Drawing.ObjectPainter descendant which provides the default painting mechanism for the painted element. This value is assigned to the CustomDrawObjectEventArgs.Painter property.

info DevExpress.Utils.Drawing.IndicatorObjectInfoArgs

A DevExpress.Utils.Drawing.IndicatorObjectInfoArgs object providing information about the painted element. This value is assigned to the RowIndicatorCustomDrawEventArgs.Info property.

See Also