Skip to main content
Row

PageBreaksCollection.IndexOf(Int32) Method

Returns the position of the item in the collection.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

int IndexOf(
    int position
)

Parameters

Name Type Description
position Int32

An integer that is the row or column index to locate in the collection.

Returns

Type Description
Int32

A zero-based integer which specifies the page break’s position within the collection. -1 if the page break doesn’t belong to the collection.

See Also