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

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IndexOf(Page) 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