Rows
Manages the collection of rows in a worksheet, providing access to row properties, heights, and operations like insert and remove.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class Rows : RowsColumnsBase
Inheritance: objectWorksheetEntityBaseRowsColumnsBaseRows
Inherited Members
Properties
Gets the total number of rows in the worksheet.
public override int Count { get; }
The row / column count.
Overrides:
Gets a RowSelection for the row containing the specified cell index.
public RowSelection this[CellIndex cellIndex] { get; }
The row selection.
Gets a RowSelection for the rows intersecting the specified cell range.
public RowSelection this[CellRange cellRange] { get; }
The row selection.
Gets a RowSelection for the rows intersecting the specified collection of cell ranges.
public RowSelection this[IEnumerable<CellRange> cellRanges] { get; }
The row selection.
Gets a RowSelection for the continuous range of rows between the specified start and end indices.
Gets a RowSelection for the row at the specified index.
public RowSelection this[int index] { get; }
The row selection.
Methods
Checks whether the specified number of rows can be inserted at the given index without exceeding worksheet limits.
Gets the default height applied to rows without custom height settings.
Creates a row selection for the row containing the specified cell index.
public RowSelection GetRowSelection(CellIndex cellIndex)
Index of the cell.
Returns:The row selection
Creates a row selection for the rows intersecting the specified cell range.
public RowSelection GetRowSelection(CellRange cellRange)
The cell range.
Returns:The row selection
Creates a row selection for the rows intersecting the specified collection of cell ranges.
public RowSelection GetRowSelection(IEnumerable<CellRange> cellRanges)
The cell ranges.
Returns:The row selection
Creates a row selection for the single row at the specified index.
public RowSelection GetRowSelection(int index)
The index.
Returns:The row selection
Sets the default height for all rows that do not have a custom height assigned.
Events
Raised when row heights are modified, providing the range of affected rows.
public event EventHandler<RowColumnPropertyChangedEventArgs> RowsHeightsChanged