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

Class FullRowRange

Represents a range that spans one or more full rows in a worksheet.

Inheritance
object
Range
SimpleRange
FullRange
FullRowRange
Implements
INotifyPropertyChanged
IEnumerable<object>
IEnumerable
Inherited Members
FullRange.SetStyle(CellStyle)
FullRange.Label
FullRange.Worksheet
Range.Sort()
Range.Sort(SortOrder)
Range.Sort(SortOrder, SortOrientation)
Range.ToString()
Range.ClearBorders()
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.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.NameOrLabel
Range.this[int]
Range.Foreground
Range.Background
Range.WrapText
Range.VerticalAlignment
Range.HorizontalAlignment
Range.Format
Range.IsLocked
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 class FullRowRange : FullRange, INotifyPropertyChanged, IEnumerable<object>, IEnumerable
Remarks

FullRowRange is used to represent operations that apply to entire rows, such as formatting entire rows, hiding/unhiding rows, or setting row heights.

This class inherits from FullRange and provides row-specific implementations for range operations.

Examples
// Create a range spanning rows 1 through 5
var fullRows = new FullRowRange(worksheet.Rows[0], worksheet.Rows[4]);
fullRows.Height = 20.0; // Set height for all rows in the range

Constructors

FullRowRange(Row)

Initializes a new FullRowRange from a single row.

Declaration
public FullRowRange(Row row)
Parameters
Type Name Description
Row row

The row to create the range from.

Remarks

FullRowRange is used to represent operations that apply to entire rows, such as formatting entire rows, hiding/unhiding rows, or setting row heights.

This class inherits from FullRange and provides row-specific implementations for range operations.

FullRowRange(Row, Row)

Initializes a new FullRowRange spanning two rows.

Declaration
public FullRowRange(Row row1, Row row2)
Parameters
Type Name Description
Row row1

The first row in the range.

Row row2

The last row in the range.

Remarks

FullRowRange is used to represent operations that apply to entire rows, such as formatting entire rows, hiding/unhiding rows, or setting row heights.

This class inherits from FullRange and provides row-specific implementations for range operations.

Properties

ColumnCount

Gets the number of columns in this range (always the maximum column span for full row ranges).

Declaration
public override int ColumnCount { get; }
Property Value
Type Description
int
Overrides
Range.ColumnCount
Remarks

FullRowRange is used to represent operations that apply to entire rows, such as formatting entire rows, hiding/unhiding rows, or setting row heights.

This class inherits from FullRange and provides row-specific implementations for range operations.

FirstColumnIndex

Gets the index of the first column in this range (always 0 for full row ranges).

Declaration
public override int FirstColumnIndex { get; }
Property Value
Type Description
int
Overrides
Range.FirstColumnIndex
Remarks

FullRowRange is used to represent operations that apply to entire rows, such as formatting entire rows, hiding/unhiding rows, or setting row heights.

This class inherits from FullRange and provides row-specific implementations for range operations.

FirstRowIndex

Gets the index of the first row in this range.

Declaration
public override int FirstRowIndex { get; }
Property Value
Type Description
int
Overrides
Range.FirstRowIndex
Remarks

FullRowRange is used to represent operations that apply to entire rows, such as formatting entire rows, hiding/unhiding rows, or setting row heights.

This class inherits from FullRange and provides row-specific implementations for range operations.

IsFullColumn

Gets a value indicating whether this range represents a full column.

Declaration
public override bool IsFullColumn { get; }
Property Value
Type Description
bool
Overrides
Range.IsFullColumn
Remarks

FullRowRange is used to represent operations that apply to entire rows, such as formatting entire rows, hiding/unhiding rows, or setting row heights.

This class inherits from FullRange and provides row-specific implementations for range operations.

IsFullRow

Gets a value indicating whether this range represents a full row.

Declaration
public override bool IsFullRow { get; }
Property Value
Type Description
bool
Overrides
Range.IsFullRow
Remarks

FullRowRange is used to represent operations that apply to entire rows, such as formatting entire rows, hiding/unhiding rows, or setting row heights.

This class inherits from FullRange and provides row-specific implementations for range operations.

this[int, int]

Gets the cell at the specified row and column offset within this range.

Declaration
public override Cell this[int row, int column] { get; }
Parameters
Type Name Description
int row

The row offset from the first row.

int column

The column index.

Property Value
Type Description
Cell

The cell at the specified position.

Overrides
Range.this[int, int]
Remarks

FullRowRange is used to represent operations that apply to entire rows, such as formatting entire rows, hiding/unhiding rows, or setting row heights.

This class inherits from FullRange and provides row-specific implementations for range operations.

RowCount

Gets the number of rows in this range.

Declaration
public override int RowCount { get; }
Property Value
Type Description
int
Overrides
Range.RowCount
Remarks

FullRowRange is used to represent operations that apply to entire rows, such as formatting entire rows, hiding/unhiding rows, or setting row heights.

This class inherits from FullRange and provides row-specific implementations for range operations.

TopLeftCell

Gets the top-left cell of this full row range.

Declaration
public override Cell TopLeftCell { get; }
Property Value
Type Description
Cell
Overrides
Range.TopLeftCell
Remarks

FullRowRange is used to represent operations that apply to entire rows, such as formatting entire rows, hiding/unhiding rows, or setting row heights.

This class inherits from FullRange and provides row-specific implementations for range operations.

Methods

GetAllCells()

Gets all cells in this full row range, including empty cells.

Declaration
public override IEnumerable<Cell> GetAllCells()
Returns
Type Description
IEnumerable<Cell>

An enumerable of all cells in the range.

Overrides
Range.GetAllCells()
Remarks

FullRowRange is used to represent operations that apply to entire rows, such as formatting entire rows, hiding/unhiding rows, or setting row heights.

This class inherits from FullRange and provides row-specific implementations for range operations.

GetColumns()

Gets all columns in this full row range.

Declaration
public override IEnumerable<Column> GetColumns()
Returns
Type Description
IEnumerable<Column>

An enumerable of all columns in the worksheet.

Overrides
Range.GetColumns()
Remarks

FullRowRange is used to represent operations that apply to entire rows, such as formatting entire rows, hiding/unhiding rows, or setting row heights.

This class inherits from FullRange and provides row-specific implementations for range operations.

GetRows()

Gets all rows in this full row range.

Declaration
public override IEnumerable<Row> GetRows()
Returns
Type Description
IEnumerable<Row>

An enumerable of all rows spanned by this range.

Overrides
Range.GetRows()
Remarks

FullRowRange is used to represent operations that apply to entire rows, such as formatting entire rows, hiding/unhiding rows, or setting row heights.

This class inherits from FullRange and provides row-specific implementations for range operations.

SetBorder(Border, BorderType)

Updates the border held by the FullRowRange.

Declaration
public override void SetBorder(Border border, BorderType borderType)
Parameters
Type Name Description
Border border

The border used by the operation.

BorderType borderType

The border type used by the operation.

Overrides
Range.SetBorder(Border, BorderType)
Remarks

FullRowRange is used to represent operations that apply to entire rows, such as formatting entire rows, hiding/unhiding rows, or setting row heights.

This class inherits from FullRange and provides row-specific implementations for range operations.

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