Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

WorksheetDisplayArea.GetRowCount(String) Method

Returns the number of visible rows in the specified worksheet.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.XtraSpreadsheet.v24.2.dll

NuGet Package: DevExpress.Win.Spreadsheet

#Declaration

public int GetRowCount(
    string worksheetName
)

#Parameters

Name Type Description
worksheetName String

A string value specifying the worksheet name in the worksheet collection.

#Returns

Type Description
Int32

An integer that represents the number of rows currently visible in a worksheet.

See Also