C1.WPF.FlexGrid Namespace > CellRange Structure : Cells Property |
'Declaration Public ReadOnly Property Cells As System.Collections.Generic.IEnumerable(Of CellRange)
public System.Collections.Generic.IEnumerable<CellRange> Cells {get;}
var total = 0; foreach (var cell in rng.Cells) { var value = grid[cell.Row, cell.Column]; if (value is int) { total += (int)value; } }
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2