Skip to main content
.NET Framework 4.5.2+

TableCellProcessorDelegate Delegate

A delegate intended to invoke its method for each cell in a table.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v23.1.Core.dll

NuGet Package: DevExpress.RichEdit.Core


public delegate void TableCellProcessorDelegate(
    TableCell cell,
    int rowIndex,
    int cellIndex


Name Type Description
cell TableCell

A TableCell object that is the cell for which the delegate is executed.

rowIndex Int32

An integer that is the index of a row to which the cell belongs.

cellIndex Int32

An integer that is the index of a column to which the cell belongs.


Use the Table.ForEachCell method to employ the TableCellProcessorDelegate instance.


You can also use anonymous methods as delegates.


using DevExpress.XtraRichEdit;
using DevExpress.XtraRichEdit.API.Native;

void IterateCells(Table _table) {
    _table.ForEachCell(new TableCellProcessorDelegate(MakeMultiplicationCell));

void MakeMultiplicationCell(TableCell cell, int i, int j)
        String.Format("{0}*{1} = {2}", i+2, j+2, (i+2) * (j+2)));
See Also