skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
  • Docs & Support
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class Rows

Represents a collection of rows.

Inheritance
System.Object
WorksheetEntityBase
RowsColumnsBase
Rows
Inherited Members
RowsColumnsBase.Insert(Int32)
RowsColumnsBase.Insert(Int32, Int32)
RowsColumnsBase.Remove(Int32)
RowsColumnsBase.Remove(Int32, Int32)
RowsColumnsBase.Cells
WorksheetEntityBase.Worksheet
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Spreadsheet.Model
Assembly: Telerik.Windows.Documents.Spreadsheet.dll

Syntax

public class Rows : RowsColumnsBase

Properties

Count

Gets the row / column count.

Declaration
public override int Count { get; }
Property Value
System.Int32

The row / column count.

Overrides
RowsColumnsBase.Count

Item[IEnumerable<CellRange>]

Gets the RowSelection with the specified cell ranges.

Declaration
public RowSelection this[IEnumerable<CellRange> cellRanges] { get; }
Parameters
System.Collections.Generic.IEnumerable<CellRange> cellRanges

Property Value
RowSelection

The row selection.

Item[Int32]

Gets the RowSelection at the specified index.

Declaration
public RowSelection this[int index] { get; }
Parameters
System.Int32 index

Property Value
RowSelection

The row selection.

Item[Int32, Int32]

Gets the RowSelection with the specified start and end indices.

Declaration
public RowSelection this[int fromIndex, int toIndex] { get; }
Parameters
System.Int32 fromIndex

System.Int32 toIndex

Property Value
RowSelection

The row selection.

Item[CellIndex]

Gets the RowSelection with the specified cell index.

Declaration
public RowSelection this[CellIndex cellIndex] { get; }
Parameters
CellIndex cellIndex

Property Value
RowSelection

The row selection.

Item[CellRange]

Gets the RowSelection with the specified cell range.

Declaration
public RowSelection this[CellRange cellRange] { get; }
Parameters
CellRange cellRange

Property Value
RowSelection

The row selection.

Methods

CanInsert(Int32, Int32)

Determines whether this instance can be inserted at the specified index.

Declaration
public override bool CanInsert(int index, int itemCount)
Parameters
System.Int32 index

The index.

System.Int32 itemCount

The item count.

Returns
System.Boolean

The value indicating whether this instance can be inserted at the specified index

Overrides
RowsColumnsBase.CanInsert(Int32, Int32)

GetDefaultHeight()

Gets the default height.

Declaration
public RowHeight GetDefaultHeight()
Returns
RowHeight

The row height

GetRowSelection(IEnumerable<CellRange>)

Gets a row selection of a specified collection of cell ranges.

Declaration
public RowSelection GetRowSelection(IEnumerable<CellRange> cellRanges)
Parameters
System.Collections.Generic.IEnumerable<CellRange> cellRanges

The cell ranges.

Returns
RowSelection

The row selection

GetRowSelection(Int32)

Gets a row selection at the specified index.

Declaration
public RowSelection GetRowSelection(int index)
Parameters
System.Int32 index

The index.

Returns
RowSelection

The row selection

GetRowSelection(Int32, Int32)

Gets a row selection between two indices.

Declaration
public RowSelection GetRowSelection(int fromIndex, int toIndex)
Parameters
System.Int32 fromIndex

From index.

System.Int32 toIndex

To index.

Returns
RowSelection

The row selection

GetRowSelection(CellIndex)

Gets a row selection at the specified index.

Declaration
public RowSelection GetRowSelection(CellIndex cellIndex)
Parameters
CellIndex cellIndex

Index of the cell.

Returns
RowSelection

The row selection

GetRowSelection(CellRange)

Gets a row selection of a specified cell range.

Declaration
public RowSelection GetRowSelection(CellRange cellRange)
Parameters
CellRange cellRange

The cell range.

Returns
RowSelection

The row selection

InsertOverride(Int32, Int32)

Inserts the override.

Declaration
protected override bool InsertOverride(int index, int itemCount)
Parameters
System.Int32 index

The index.

System.Int32 itemCount

The item count.

Returns
System.Boolean

Overrides
RowsColumnsBase.InsertOverride(Int32, Int32)

RemoveOverride(Int32, Int32)

Removes the override.

Declaration
protected override void RemoveOverride(int index, int itemCount)
Parameters
System.Int32 index

The index.

System.Int32 itemCount

The item count.

Overrides
RowsColumnsBase.RemoveOverride(Int32, Int32)

SetDefaultHeight(RowHeight)

Sets the default height.

Declaration
public void SetDefaultHeight(RowHeight height)
Parameters
RowHeight height

The height.

Events

RowsHeightsChanged

Occurs when the rows' heights have changed.

Declaration
public event EventHandler<RowColumnPropertyChangedEventArgs> RowsHeightsChanged
Event Type
System.EventHandler<RowColumnPropertyChangedEventArgs>

Getting Started
  • Getting Started
Support Resources
  • Documentation
Community
  • Forums
  • Blogs
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.