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

RowCellCustomDrawEventArgs Class

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

public class RowCellCustomDrawEventArgs :
    CustomDrawEventArgs

#Remarks

When handling events that use RowCellCustomDrawEventArgs objects as parameters, you may need to identify the painted element’s location and content. The row where the painted element resides can be identified using the object’s inherited RowCellCustomDrawEventArgs.RowHandle property. The RowCellCustomDrawEventArgs.Column property identifies the column that owns the element. To obtain the painted element’s content, use the RowCellCustomDrawEventArgs.CellValue and RowCellCustomDrawEventArgs.DisplayText properties. Additionally, the RowCellCustomDrawEventArgs class provides data common to all custom painting events.

RowCellCustomDrawEventArgs objects are automatically created, initialized and passed to appropriate event handlers.

#Inheritance

Object
EventArgs
CustomDrawEventArgs
RowCellCustomDrawEventArgs
See Also