Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

RowCollection.Hide(Int32, Int32) Method

Hides the specified rows in a worksheet.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll

Declaration

void Hide(
    int first,
    int last
)

Parameters

Name Type Description
first Int32

A zero-based integer representing the index of the first row to be hidden.

last Int32

A zero-based integer representing the index of the last row to be hidden.

Remarks

Use the Hide method to hide multiple rows at once. To hide an individual row, use the Row.Visible property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Hide(Int32, Int32) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also