MindFusion.Wpf Pack Programmer's Guide
Worksheet.CellRanges Property
See Also
 





Gets an object that can be used to access and manipulate rectangular ranges of worksheet cells.

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

 Syntax

C#  Copy Code

public CellRangeCollection CellRanges { get; }

Visual Basic  Copy Code

Public ReadOnly Property CellRanges As CellRangeCollection

 Property Value

An instance of the CellRangeCollection class.

 Example

The following example applies a new background to all cells in the range 'A1:C10', by using a CellRange object.

C#  Copy Code

worksheet.CellRanges["A1:C10"].Style.Background = Brushes.PaleGoldenrod;

Visual Basic  Copy Code

worksheet.CellRanges("A1:C10").Style.Background = Brushes.PaleGoldenrod

 See Also

Worksheet Members
Worksheet Class
MindFusion.Spreadsheet.Wpf Namespace