MindFusion.Wpf Pack Programmer's Guide
CellRange Class
Remarks See Also
 





Identifies a range of cells in a Worksheet.

Namespace: MindFusion.Spreadsheet.Wpf
Assembly: MindFusion.Spreadsheet.Wpf

 Syntax

C#  Copy Code

public class CellRange : IEnumerable<Cell>, IEnumerable

Visual Basic  Copy Code

Public Class CellRange
    Implements IEnumerable(Of Cell), IEnumerable

 Remarks

Instances of this class can be accessed through the CellRanges collection of the Worksheet class. The CellRange object can be used to customize the appearance of all cells in the range through its Style, to insert, delete, merge and unmerge cells.

 Example

The following example demonstrates how to merge the cells A1:C4 in a worksheet:

C#  Copy Code

worksheet.CellRanges["A1:C4"].Merge();

Visual Basic  Copy Code

worksheet.CellRanges("A1:C4").Merge()

 Inheritance Hierarchy

System.Object
    MindFusion.Spreadsheet.Wpf.CellRange

 See Also

CellRange Members
MindFusion.Spreadsheet.Wpf Namespace