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.v22.1.Core.dll


public int IndexOf(
    Page page


Name Type Description
page Page

The Page object to locate in the collection.


Type Description

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


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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IndexOf(Page) method.


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