| CellRangeCells プロパティ |
名前空間: 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; }
Public ReadOnly Property Cells As IEnumerable(Of CellRange)
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; } }
参照