Skip to main content

PageList.IndexOf(Page) Method

Returns the zero-based index of the specified page in the collection.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v23.2.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public int IndexOf(
    Page page
)

Parameters

Name Type Description
page Page

The Page object to locate in the collection.

Returns

Type Description
Int32

An integer value representing the position of the specified page in the collection.

Remarks

If the specified page is not found in the collection this method returns -1.

See Also