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

CustomDrawRowValueCellEventArgs Class

Provides data for the VGridControlBase.CustomDrawRowValueCell event.

Namespace: DevExpress.XtraVerticalGrid.Events

Assembly: DevExpress.XtraVerticalGrid.v24.2.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