Skip to main content

CustomDrawRowValueCellEventArgs Class

Provides data for the VGridControlBase.CustomDrawRowValueCell event.

Namespace: DevExpress.XtraVerticalGrid.Events

Assembly: DevExpress.XtraVerticalGrid.v24.1.dll

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

Declaration

public class CustomDrawRowValueCellEventArgs :
    CustomDrawRowEventArgs

Remarks

The VGridControlBase.CustomDrawRowValueCell event gives you the ability to perform your own data cell painting. The CustomDrawRowValueCellEventArgs class introduces properties which let you identify the painted cell’s location and content. The row where the painted cell resides can be identified using the CustomDrawRowEventArgs.Row property. The record owning the painted cell can be identified using the CustomDrawRowValueCellEventArgs.RecordIndex property. The painted cell’s index can be obtained via the CustomDrawRowValueCellEventArgs.CellIndex property. To obtain the cell’s content, use the CustomDrawRowValueCellEventArgs.CellValue and CustomDrawRowValueCellEventArgs.CellText properties. Additionally, the CustomDrawRowValueCellEventArgs class provides data common to all custom painting events.

Refer to the Custom Painting Samples topic for details.

Inheritance

See Also