True DBGrid for WinForms
DataRowIndex プロパティ (ViewRow)
使用例 

C1.Win.C1TrueDBGrid.4.5.2 アセンブリ > C1.Win.C1TrueDBGrid.BaseGrid 名前空間 > ViewRow クラス : DataRowIndex プロパティ
Gets index of the row in data source.
シンタックス
'宣言
 
Public ReadOnly Property DataRowIndex As System.Integer
public System.int DataRowIndex {get;}
解説

Returns -1 if there is not corresponding data row. For example, for a group row.

Use DataRowIndex property to translate view row index to data row index.

使用例
private void c1TrueDBGrid1_FetchCellStyle(object sender, C1.Win.C1TrueDBGrid.FetchCellStyleEventArgs e)
{
    ViewRow row = this.c1TrueDBGrid1.Splits[0].Rows[e.Row];
    if (row.RowType == RowTypeEnum.DataRow)
    {
        bool val = (bool)this.c1TrueDBGrid1[row.DataRowIndex, 3];
        if (val == true)
            e.CellStyle.BackColor = Color.Red;
    }
}
参照

ViewRow クラス
ViewRow メンバ