Skip to main content

CustomDrawRowValueCellEventArgs(GraphicsCache, Rectangle, AppearanceObject, RowProperties, Int32, Int32, Object, String) Constructor

Initializes a new instance of the CustomDrawRowValueCellEventArgs class with the specified settings.

Namespace: DevExpress.XtraVerticalGrid.Events

Assembly: DevExpress.XtraVerticalGrid.v24.1.dll

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

Declaration

public CustomDrawRowValueCellEventArgs(
    GraphicsCache cache,
    Rectangle r,
    AppearanceObject appearance,
    RowProperties properties,
    int recordIndex,
    int cellIndex,
    object cellValue,
    string cellText
)

Parameters

Name Type Description
cache GraphicsCache

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

r Rectangle

A Rectangle structure representing the painted element’s bounding rectangle. This value is assigned to the CustomDrawEventArgs.Bounds property.

appearance AppearanceObject

A AppearanceObject object which provides the appearance settings used to paint an element. This value is assigned to the CustomDrawEventArgs.Appearance property.

properties RowProperties

Properties specific to the row being custom painted. This value is assigned to the CustomDrawRowEventArgs.Properties property.

recordIndex Int32

An integer value identifying the record that corresponds to the painted cell. This value is assigned to the CustomDrawRowValueCellEventArgs.RecordIndex property.

cellIndex Int32

A zero-based integer representing the painted cell’s index. This value is assigned to the CustomDrawRowValueCellEventArgs.CellIndex property.

cellValue Object

An object representing the painted cell’s value. This value is assigned to the CustomDrawRowValueCellEventArgs.CellValue property.

cellText String

A System.String value representing the painted cell’s displayed text. This value is assigned to the CustomDrawRowValueCellEventArgs.CellText property.

See Also