Skip to main content
A newer version of this page is available. .

RowCellCustomDrawEventArgs Class

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v19.2.dll

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