クリックまたはドラッグしてリサイズ
CellRangeCells プロパティ
この CellRange 内のセルの反復処理に使用できる IEnumerable を取得します。

名前空間: C1.WPF.FlexGrid
アセンブリ: C1.WPF.FlexGrid.4 (C1.WPF.FlexGrid.4.dll 内) バージョン: 4.0.20161.507 (4.0.20161.507)
構文
public IEnumerable<CellRange> Cells { get; }

プロパティ値

型: IEnumerableCellRange
以下のコードは、Cells プロパティを使用して、指定されたセル範囲にすべての整数値を追加する方法を示します。
var total = 0; foreach (var cell in rng.Cells) { var value = grid[cell.Row, cell.Column]; if (value is int) { total += (int)value; } }
参照