• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class CellsRange

Abstract base class for ranges that represent a rectangular area of cells.

Inheritance
object
Range
SimpleRange
CellsRange
SingleCellRange
Implements
INotifyPropertyChanged
IEnumerable<object>
IEnumerable
Inherited Members
Range.Sort()
Range.Sort(SortOrder)
Range.Sort(SortOrder, SortOrientation)
Range.ToString()
Range.ClearBorders()
Range.SetBorder(Border, BorderType)
Range.SetArrayFormula(string, bool)
Range.SetArrayFormula(string)
Range.FindAll(FindArguments)
Range.ReplaceAll(ReplaceArguments)
Range.CopyFrom(Range, PasteOptions)
Range.Equals(Range)
Range.Intersects(Range, Range)
Range.SetStyle(CellStyle)
Range.GetAllCells()
Range.GetColumns()
Range.GetRows()
Range.ClearFormats()
Range.Clear()
Range.ClearContents()
Range.ClearComments()
Range.ClearHyperlinks()
Range.Merge()
Range.Union(Range, Range)
Range.Intersection(Range, Range)
Range.SetColumnsWidthPixel(double)
Range.SetRowsHeight(double)
Range.SetFormula(string)
Range.SetFormula(string[])
Range.SetValue(object)
Range.SetValue(object[,])
Range.SetValue(object[])
Range.SetValue(DateTime[])
Range.SetValue(double[])
Range.SetValue(int[])
Range.SetValue(ErrorType[])
Range.RemoveDuplicates(RemoveDuplicatesOptions)
Range.DeleteEmptyRows(DeleteEmptyRowsOptions)
Range.DeleteEmptyColumns(DeleteEmptyColumnsOptions)
Range.CleanText(TextCleansingOptions)
Range.TopLeftCell
Range.NameOrLabel
Range.this[int, int]
Range.this[int]
Range.FirstRowIndex
Range.FirstColumnIndex
Range.RowCount
Range.ColumnCount
Range.Foreground
Range.Background
Range.WrapText
Range.VerticalAlignment
Range.HorizontalAlignment
Range.Format
Range.IsLocked
Range.Worksheet
Range.Label
Range.AbsoluteLabel
Range.FullAbsoluteLabel
Range.FullLabel
Range.CellCount
Range.Fill
Range.Font
Range.PropertyChanged
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public abstract class CellsRange : SimpleRange, INotifyPropertyChanged, IEnumerable<object>, IEnumerable
Remarks

CellsRange serves as the base class for ranges that span a specific rectangular area defined by a starting and ending cell address. This includes standard cell ranges like "A1:B10".

This class inherits from SimpleRange and provides common functionality for cell-based range operations such as value setting, formula application, and formatting.

Constructors

CellsRange()

Abstract base class for ranges that represent a rectangular area of cells.

Declaration
protected CellsRange()
Remarks

CellsRange serves as the base class for ranges that span a specific rectangular area defined by a starting and ending cell address. This includes standard cell ranges like "A1:B10".

This class inherits from SimpleRange and provides common functionality for cell-based range operations such as value setting, formula application, and formatting.

Properties

BottomLeft

Gets the bottom-left cell of this range.

Declaration
public abstract Cell BottomLeft { get; }
Property Value
Type Description
Cell
Remarks

CellsRange serves as the base class for ranges that span a specific rectangular area defined by a starting and ending cell address. This includes standard cell ranges like "A1:B10".

This class inherits from SimpleRange and provides common functionality for cell-based range operations such as value setting, formula application, and formatting.

BottomRight

Gets the bottom-right cell of this range.

Declaration
public abstract Cell BottomRight { get; }
Property Value
Type Description
Cell
Remarks

CellsRange serves as the base class for ranges that span a specific rectangular area defined by a starting and ending cell address. This includes standard cell ranges like "A1:B10".

This class inherits from SimpleRange and provides common functionality for cell-based range operations such as value setting, formula application, and formatting.

IsFullColumn

Indicates whether the full column condition is true for the CellsRange.

Declaration
public override sealed bool IsFullColumn { get; }
Property Value
Type Description
bool

The is full column returned by the operation.

Overrides
Range.IsFullColumn
Remarks

CellsRange serves as the base class for ranges that span a specific rectangular area defined by a starting and ending cell address. This includes standard cell ranges like "A1:B10".

This class inherits from SimpleRange and provides common functionality for cell-based range operations such as value setting, formula application, and formatting.

IsFullRow

Indicates whether the full row condition is true for the CellsRange.

Declaration
public override sealed bool IsFullRow { get; }
Property Value
Type Description
bool

The is full row returned by the operation.

Overrides
Range.IsFullRow
Remarks

CellsRange serves as the base class for ranges that span a specific rectangular area defined by a starting and ending cell address. This includes standard cell ranges like "A1:B10".

This class inherits from SimpleRange and provides common functionality for cell-based range operations such as value setting, formula application, and formatting.

TopRight

Gets the top-right cell of this range.

Declaration
public abstract Cell TopRight { get; }
Property Value
Type Description
Cell
Remarks

CellsRange serves as the base class for ranges that span a specific rectangular area defined by a starting and ending cell address. This includes standard cell ranges like "A1:B10".

This class inherits from SimpleRange and provides common functionality for cell-based range operations such as value setting, formula application, and formatting.

Methods

ApplySharedFormula(string)

Applies a shared formula to all cells in this range.

Declaration
public void ApplySharedFormula(string formula)
Parameters
Type Name Description
string formula

The formula string to apply to the top-left cell, which will be shared with all other cells in the range.

Remarks

This method creates a shared expression that is referenced by all cells in the range, allowing for efficient calculation and storage of identical formulas.

Implements

INotifyPropertyChanged
IEnumerable<T>
IEnumerable

Extension Methods

SortingExtensions.Sort(Range, bool)
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX