RowCellCustomDrawEventArgs Class

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

public class RowCellCustomDrawEventArgs :
    CustomDrawEventArgs
Public Class RowCellCustomDrawEventArgs
    Inherits 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