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

RowCellCustomDrawEventArgs Class

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v18.1.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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the RowCellCustomDrawEventArgs class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

Object
EventArgs
CustomDrawEventArgs
RowCellCustomDrawEventArgs
See Also